{"id":"UBUNTU-CVE-2024-29371","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.","modified":"2026-05-20T16:17:12.073213893Z","published":"2025-12-17T16:16:00Z","upstream":["CVE-2024-29371"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-29371"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-29371"},{"type":"REPORT","url":"https://bitbucket.org/b_c/jose4j/issues/220/vuln-zip-bomb-attack"}],"affected":[{"package":{"name":"libjose4j-java","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libjose4j-java?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.7-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.7.7-2","binary_name":"libjose4j-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29371.json"}},{"package":{"name":"libjose4j-java","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libjose4j-java?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.12-1","0.7.12-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjose4j-java","binary_version":"0.7.12-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29371.json"}},{"package":{"name":"libjose4j-java","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libjose4j-java?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjose4j-java","binary_version":"0.9.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29371.json"}},{"package":{"name":"libjose4j-java","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libjose4j-java?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjose4j-java","binary_version":"0.9.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29371.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}