CVE-2024-29371

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 · published December 17, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
16.4
In the wild
Unconfirmed
What it is

⚡ An exceptionally crafted JSON Web Encryption (JWE) token can send your server into a memory meltdown! 🎉 Think of it like a suitcase packed by an overzealous traveler – when it finally arrives at the airport, it expands so much during screening that it clogs the entire baggage claim area. An attacker could exploit this vulnerability to create Denial-of-Service (DoS) conditions, causing your server to become unresponsive. As the server struggles with massive memory allocation and prolonged processing times, your users might find themselves locked out and frustrated, potentially leading to a loss of trust and revenue.

Put simply

Think of it like a suitcase packed by an overzealous traveler – when it finally arrives at the airport, it expands so much during screening that it clogs the entire baggage claim area. In jose4j versions before 0.9.6, a DoS vulnerability allows attackers to craft JWE tokens that, when decompressed, consume excessive amounts of memory and processing power, ultimately slowing or crashing the server.

What to do

An attacker could exploit this vulnerability to create Denial-of-Service (DoS) conditions, causing your server to become unresponsive. As the server struggles with massive memory allocation and prolonged processing times, your users might find themselves locked out and frustrated, potentially leading to a loss of trust and revenue. Upgrade to jose4j version 0.9.6 or later to mitigate this issue. Additionally, consider monitoring and limiting the size of incoming JWE tokens to prevent potential exploitation. Regularly audit your server's performance to detect any unusual patterns. You've got this! With these steps, you’ll be fortifying your server against this pesky vulnerability in no time. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00257 · 16.4th percentile
Published
2025-12-17T00:00Z
EPSS history
Timeline
  • 17 DEC 00:00Z
    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…
    cvelistv5