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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.bitbucket.b_c » jose4j | < 0.9.6 | 0.9.6 |
Blast radius
57% of the dependent artifacts (3,757) still pull an affected version in their latest release.
| Depth | Dependent 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
- com.android.tools.build » gradle2,197 usages
- org.apache.kafka » kafka1,450 usages
- com.atlassian.confluence » confluence724 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.solr » solr-core500 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.wildfly.core » wildfly-server477 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.wildfly.core » wildfly-controller406 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.wildfly.core » wildfly-core-feature-pack320 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apereo.cas » cas-server-core-util296 usages
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.
