Live threats

All CVEs / Apache

CVE-2021-22696Apache Cxf

High 7.5 No auth needed

Priority
61
CVSS 3.1
7.5
EPSS
6.6%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Apr 2, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-918
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

CXF supports (via JwtRequestCodeFilter) passing OAuth 2 parameters via a JWT token as opposed to query parameters (see: The OAuth 2.0 Authorization Framework: JWT Secured Authorization Request (JAR)). Instead of sending a JWT token as a "request" parameter, the spec also supports specifying a URI from which to retrieve a JWT token from via the "request_uri" parameter. CXF was not validating the "request_uri" parameter (apart from ensuring it uses "https) and was making a REST request to the parameter in the request to retrieve a token. This means that CXF was vulnerable to DDos attacks on the authorization server, as specified in section 10.4.1 of the spec. This issue affects Apache CXF versions prior to 3.4.3; Apache CXF versions prior to 3.3.10.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cxf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.cxf:apache-cxf ≥ 3.4.0 < 3.4.3 3.4.3 —
Maven org.apache.cxf:apache-cxf < 3.3.10 3.3.10 —
Maven org.apache.cxf:cxf ≥ 3.4.0 < 3.4.3 3.4.3 —
Maven org.apache.cxf:cxf < 3.3.10 3.3.10 —

Per OSV / GitHub Advisories (GHSA-7q4h-pj78-j7vg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachecxf< 3.3.10
apachecxf≥ 3.4.0 < 3.4.3
oraclebusiness_intelligence5.5.0.0.0
oraclebusiness_intelligence5.9.0.0.0
oraclebusiness_intelligence12.2.1.3.0
oraclebusiness_intelligence12.2.1.4.0
oraclecommunications_diameter_intelligence_hub≥ 8.0.0 ≤ 8.1.0
oraclecommunications_diameter_intelligence_hub≥ 8.2.0 ≤ 8.2.3
oraclecommunications_element_manager8.2.2
oraclecommunications_session_report_manager≥ 8.0.0 ≤ 8.2.4.0
oraclecommunications_session_route_manager≥ 8.0.0 ≤ 8.2.4

Official sources

References

Links published by the sources. Open them with care.