HIGH 7.5

CVE-2024-29371

jose4j is vulnerable to DoS via compressed JWE content

Description

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.bitbucket.b_c » jose4j
< 0.9.6
0.9.6

Blast radius

1affected artifacts
84affected versions
6,538dependent artifacts (est.)
476,575dependent versions

57% of the dependent artifacts (3,757) still pull an affected version in their latest release.

DepthDependent versions
Direct
23,050
2 hops
108,724
3 hops
71,707
4 hops
193,704
5 hops
57,775
6 hops
21,615

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.