Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bitbucket.b_c/jose4j
  4. ›
  5. CVE-2024-29371

CVE-2024-29371: jose4j is vulnerable to DoS via compressed JWE content

December 17, 2025 (updated January 6, 2026)

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.

References

  • bitbucket.org/b_c/jose4j/commits/19a90a64c47bb07c4aa5462f1316d5c293d81fcf
  • bitbucket.org/b_c/jose4j/issues/220/vuln-zip-bomb-attack
  • bitbucket.org/b_c/jose4j/wiki/Home
  • github.com/advisories/GHSA-3677-xxcr-wjqv
  • nvd.nist.gov/vuln/detail/CVE-2024-29371

Code Behaviors & Features

Detect and mitigate CVE-2024-29371 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.9.6

Fixed versions

  • 0.9.6

Solution

Upgrade to version 0.9.6 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1259: Improper Restriction of Security Token Assignment

Source file

maven/org.bitbucket.b_c/jose4j/CVE-2024-29371.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:09 +0000.