GitHub Advisory Database
GHSA-ghvc-7hp8-2g2v
Apache cxf-core: No restriction on attachment headers per message
Details
There is no restriction on the amount of attachment headers that a message can contain when being deserialized by Apache CXF, which can lead to uncontrolled resource consumption or a denial of service attack. Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fix this issue by imposing a maximum default of 500 attachments per message.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.cxf:cxf-core | From 4.2.0 before 4.2.2 (fixed in 4.2.2) |
| Maven | org.apache.cxf:cxf-core | From 4.0.0 before 4.1.7 (fixed in 4.1.7) |
| Maven | org.apache.cxf:cxf-core | All versions before 3.6.12 (fixed in 3.6.12) |