VDB
KO
HIGH 7.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-core

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, 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.0 Fixed in: 4.2.2
Fix # pom.xml: bump <version>4.2.2</version> for org.apache.cxf:cxf-core
Maven / org.apache.cxf:cxf-core
Introduced in: 0 Fixed in: 4.1.7
Fix # pom.xml: bump <version>4.1.7</version> for org.apache.cxf:cxf-core

References