CVE-2024-32007: Apache CXF Denial of Service vulnerability in JOSE
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.72783%
CWE
Published
7/19/2024
Updated
8/8/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.cxf:cxf-rt-rs-security-jose | maven | >= 4.0.0, < 4.0.5 | 4.0.5 |
org.apache.cxf:cxf-rt-rs-security-jose | maven | >= 3.6.0, < 3.6.4 | 3.6.4 |
org.apache.cxf:cxf-rt-rs-security-jose | maven | < 3.5.9 | 3.5.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing input validation for the 'p2c' parameter during JWE decryption. The commit diff shows:
- A new maxPbesCount parameter was added to PbesHmacAesWrapKeyDecryptionAlgorithm constructors
- A validation check 'if (pbesCount > maxPbesCount)' was added in getDecryptedContentEncryptionKey
- Test cases were added to verify rejection of large p2c values This indicates the vulnerable code path was the decryption processing flow handling the p2c parameter without these limits. The function directly processes untrusted input (p2c header) and lacked resource consumption safeguards before the patch.