GHSA-xf62-wr5p-5p95

Apache CXF OAuth2 HTTP Response Splitting via WWW-Authenticate Realm Injection

En bref

Publiée
Mise à jour
CVE
CVE-2026-50630
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Description

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, which fixes this issue.

Paquets affectés

PaquetVersions
Maven · org.apache.cxf:cxf-rt-rs-security-oauth2introduced 4.2.0, fixed 4.2.2
Maven · org.apache.cxf:cxf-rt-rs-security-oauth2introduced 0, fixed 4.1.7

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database