High

Authorization service vulnerable to DDos attacks in Apache CFX

  • Disclosed: 13.05.2021
  • Updated: 11.10.2026 11:21

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.cxf:apache-cxf >= 3.4.0, < 3.4.3, < 3.3.10 3.4.3, 3.3.10
Java / Kotlin (Maven) org.apache.cxf:cxf >= 3.4.0, < 3.4.3, < 3.3.10 3.4.3, 3.3.10

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-400, CWE-918
Platform
Java / Kotlin (Maven)
Package
org.apache.cxf:apache-cxf, org.apache.cxf:cxf
Disclosed
13.05.2021
Updated
11.10.2026 11:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-7q4h-pj78-j7vg - CC BY 4.0

Vulnerability history: org.apache.cxf:cxf

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (12) in the archive
Total entries
12
First → latest
11.2019 05.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 5
  • Medium 5

Disclosures per year

  1. 2019: 2
  2. 2020: 2
  3. 2021: 2
  4. 2022: 6
  5. 2023: 0
  6. 2024: 0
  7. 2025: 0
  8. 2026: 0
Severity:
  1. High CVE-2012-2379 >= 2.4.0, < 2.4.8, >= 2.5.0, < 2.5.4, >= 2.6.0, < 2.6.1 2.4.8, 2.5.4, 2.6.1
  2. Critical · 9.8 CVE-2012-0803 >= 2.4.0, < 2.4.6, >= 2.5.0, < 2.5.2 2.4.6, 2.5.2
  3. High CVE-2012-3451 < 2.4.9, >= 2.5.0, < 2.5.5, >= 2.6.0, < 2.6.2 2.4.9, 2.5.5, 2.6.2
  4. High · 7.5 CVE-2021-30468 >= 3.4.0, < 3.4.4, < 3.3.11 3.4.4, 3.3.11
  5. Authorization service vulnerable to DDos attacks in Apache CFX this entry
    High · 7.5 CVE-2021-22696 >= 3.4.0, < 3.4.3, < 3.3.10 3.4.3, 3.3.10
  6. High · 7.5 CVE-2019-12423 < 3.2.12, >= 3.3.0, < 3.3.5 3.2.12, 3.3.5
  7. Critical · 9.8 CVE-2019-12419 < 3.2.11, >= 3.3.0, < 3.3.4 3.2.11, 3.3.4

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.