VDB
Sign up
MEDIUM6.5

GHSA-58p8-9g59-q2hr

Potential DOS attack due to unrestricted attachment count in messages

Quick fix

GHSA-58p8-9g59-q2hr — org.apache.cxf:cxf: upgrade to the fixed version with the command below.

# pom.xml: bump <version>3.2.11</version> for org.apache.cxf:cxf

Details

Apache CXF before 3.3.4 and 3.2.11 does not restrict the number of message attachments present in a given message. This leaves open the possibility of a denial of service type attack, where a malicious user crafts a message containing a very large number of message attachments. From the 3.3.4 and 3.2.11 releases, a default limit of 50 message attachments is enforced. This is configurable via the message property "attachment-max-count".

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.cxf:cxf
Introduced in: 0Fixed in: 3.2.11
Fix# pom.xml: bump <version>3.2.11</version> for org.apache.cxf:cxf
Maven/org.apache.cxf:cxf
Introduced in: 3.3.0Fixed in: 3.3.4
Fix# pom.xml: bump <version>3.3.4</version> for org.apache.cxf:cxf
Maven/org.apache.cxf:apache-cxf
Introduced in: 0Fixed in: 3.2.11
Fix# pom.xml: bump <version>3.2.11</version> for org.apache.cxf:apache-cxf
Maven/org.apache.cxf:apache-cxf
Introduced in: 3.3.0Fixed in: 3.3.4
Fix# pom.xml: bump <version>3.3.4</version> for org.apache.cxf:apache-cxf

References