ADVISORIES

GitHub Advisory Database

GHSA-58p8-9g59-q2hr

Potential DOS attack due to unrestricted attachment count in messages

Moderate CVE-2019-12406

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".

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.cxf:cxf
All versions before 3.2.11 (fixed in 3.2.11)
Mavenorg.apache.cxf:cxf
From 3.3.0 before 3.3.4 (fixed in 3.3.4)
Mavenorg.apache.cxf:apache-cxf
All versions before 3.2.11 (fixed in 3.2.11)
Mavenorg.apache.cxf:apache-cxf
From 3.3.0 before 3.3.4 (fixed in 3.3.4)

References