ADVISORIES

GitHub Advisory Database

GHSA-7vgj-8mw4-hg8r

Improper Input Validation in Apache CXF

Moderate CVE-2017-12624

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

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.cxf:cxf-core
From 3.2.0 before 3.2.1 (fixed in 3.2.1)
Mavenorg.apache.cxf:cxf-core
From 3.1.0 before 3.1.14 (fixed in 3.1.14)
Mavenorg.apache.cxf:cxf-core
All versions before 3.0.16 (fixed in 3.0.16)

References