Intel

AIKIDO-2024-10437

jose-jwt is vulnerable to Use of a Broken or Risky Cryptographic Algorithm

Use of a Broken or Risky Cryptographic Algorithm Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 12, 2024

77

High Risk

This Affects:

dotnetjose-jwt
1.9 - 5.0.0
Fixed in 5.1.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package may use a broken or risky cryptographic algorithm. In the AES GCM algorithm, the tag length is not enforced to 16. This allows an attacker to provide a truncated authentication tag and modify the JSON Web Encryption (JWE) accordingly, potentially bypassing the integrity checks and tampering with the encrypted data.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

jose-jwt is vulnerable to Use of a Broken or Risky Cryptographic Algorithm in versions 1.9 - 5.0.0.

How to fix this

Upgrade the jose-jwt library to the patch version.