CVE-2024-29371
JSON

7.5high

jose4j is vulnerable to DoS via compressed JWE content

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.27% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-3677-xxcr-wjqv

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
org.bitbucket.b_c:jose4j (Maven)before 0.9.6GitHub Advisory Database
jose4j_project jose4jbefore 0.9.5NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-1259

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En jose4j anterior a 0.9.6, un atacante puede causar una condición de Denegación de Servicio (DoS) al crear un token malicioso de JSON Web Encryption (JWE) con una relación de compresión excepcionalmente alta. Cuando este token es procesado por el servidor, resulta en una asignación de memoria y un tiempo de procesamiento significativos durante la descompresión.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-29371 changed 2026-01-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-3677-xxcr-wjqv changed 2026-09-10CC-BY-4.0
NVDCVE-2024-29371 changed 2026-10-27Public domain