NetSight
high7.5

CVE-2024-29371

jose4j is vulnerable to DoS via compressed JWE content

Impact

In jose4j before 0.9.6, an attacker can cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. When this token is processed by the server, it results in significant memory allocation and processing time during decompression.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.bitbucket.b_c:jose4j< 0.9.60.9.6

Affected products

VendorProductAffected versions
Jose4j ProjectJose4j
before 0.9.5

Weakness classification

References