Improper Input Validation in Apache CXF
Moderate severity
GitHub Reviewed
Published
May 13, 2022
to the GitHub Advisory Database
•
Updated Dec 21, 2023
Package
Affected versions
= 3.2.0
>= 3.1.0, <= 3.1.13
< 3.0.16
Patched versions
3.2.1
3.1.14
3.0.16
Description
Published by the National Vulnerability Database
Nov 14, 2017
Published to the GitHub Advisory Database
May 13, 2022
Reviewed
Jul 1, 2022
Last updated
Dec 21, 2023
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".
References