Potential DOS attack due to unrestricted attachment count in messages
Apache CXF
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.cxf:cxf Maven |
|
|
| org.apache.cxf:apache-cxf Maven |
|
Apache CXF
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.cxf:cxf Maven |
|
|
| org.apache.cxf:apache-cxf Maven |
|
|
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".
From the CVE record · apache
Apache CXF does not limit the number of attachments in a message in the affected versions. A malicious user could craft a message with many attachments to cause a denial of service. The input does not specify whether authentication or user interaction is required.
Engineers running Maven packages org.apache.cxf:cxf or org.apache.cxf:apache-cxf on versions below 3.2.11 or from 3.3.0 through 3.3.3 should check their deployments.