A CRLF injection vulnerability exists in the OAuth2 AuthorizationUtils class. When constructing the WWW-Authenticate response header, the 'realm' parameter is concatenated without sanitizing Carriage Return (CR) and Line Feed (LF) characters. If an attacker can control the realm value, they can inject arbitrary HTTP headers or split the HTTP response entirely.
Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fixes this issue.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 2
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Apache Cxf
cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*
|
— |
4.1.7
|
|
Apache Cxf
cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*
|
4.2.0
|
4.2.2
|