VDB
Sign up
MEDIUM5.5

GHSA-7vgj-8mw4-hg8r

Improper Input Validation in Apache CXF

Quick fix

GHSA-7vgj-8mw4-hg8r — org.apache.cxf:cxf-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>3.2.1</version> for org.apache.cxf:cxf-core

Details

Apache CXF supports sending and receiving attachments via either the JAX-WS or JAX-RS specifications. It is possible to craft a message attachment header that could lead to a Denial of Service (DoS) attack on a CXF web service provider. Both JAX-WS and JAX-RS services are vulnerable to this attack. From Apache CXF 3.2.1 and 3.1.14, message attachment headers that are greater than 300 characters will be rejected by default. This value is configurable via the property "attachment-max-header-size".

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.cxf:cxf-core
Introduced in: 3.2.0Fixed in: 3.2.1
Fix# pom.xml: bump <version>3.2.1</version> for org.apache.cxf:cxf-core
Maven/org.apache.cxf:cxf-core
Introduced in: 3.1.0Fixed in: 3.1.14
Fix# pom.xml: bump <version>3.1.14</version> for org.apache.cxf:cxf-core
Maven/org.apache.cxf:cxf-core
Introduced in: 0Fixed in: 3.0.16
Fix# pom.xml: bump <version>3.0.16</version> for org.apache.cxf:cxf-core

References