HIGH7.5
GHSA-ghvc-7hp8-2g2v
Apache cxf-core: No restriction on attachment headers per message
Quick fix
GHSA-ghvc-7hp8-2g2v — org.apache.cxf:cxf-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.2.2</version> for org.apache.cxf:cxf-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.cxf:cxf-core
Introduced in:
4.2.0Fixed in: 4.2.2Fix
# pom.xml: bump <version>4.2.2</version> for org.apache.cxf:cxf-coreMaven/org.apache.cxf:cxf-core
Introduced in:
4.0.0Fixed in: 4.1.7Fix
# pom.xml: bump <version>4.1.7</version> for org.apache.cxf:cxf-coreMaven/org.apache.cxf:cxf-core
Introduced in:
0Fixed in: 3.6.12Fix
# pom.xml: bump <version>3.6.12</version> for org.apache.cxf:cxf-core