GitHub Advisory Database
GHSA-3677-xxcr-wjqv
jose4j is vulnerable to DoS via compressed JWE content
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.bitbucket.b_c:jose4j | All versions before 0.9.6 (fixed in 0.9.6) |