CVE-2021-22696: OAuth 2 authorization service vulnerable to DDos attacks

Published Apr 2, 2021
·
Updated

Apache CXF is vulnerable to a denial of service, caused by improper validation of requesturi parameter by the OAuth 2 authorization service. By sending a specially-crafted request, a remote attacker could exploit this vulnerability to cause a denial of service condition on the authorization server.

Other sources

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 "requesturi" parameter. CXF was not validating the "requesturi" 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

19 affected componentsFixes available
redhat/cxf-3.3.10 cxf<3.4.3
3.4.3
Apache CXF<3.3.10
Apache CXF>=3.4.0<3.4.3
Oracle Business Intelligence=5.5.0.0.0
Oracle Business Intelligence=5.9.0.0.0
Oracle Business Intelligence=12.2.1.3.0
Oracle Business Intelligence=12.2.1.4.0
Oracle Communications Diameter Intelligence Hub>=8.0.0<=8.1.0
Oracle Communications Diameter Intelligence Hub>=8.2.0<=8.2.3
Oracle Communications Element Manager=8.2.2
Oracle Communications Session Report Manager>=8.0.0<=8.2.4.0
Oracle Communications Session Route Manager>=8.0.0<=8.2.4
IBM Security Guardium<=10.5
IBM Security Guardium<=10.6
IBM Security Guardium<=11.0
IBM Security Guardium<=11.1
IBM Security Guardium<=11.2
IBM Security Guardium<=11.3
IBM Security Guardium<=11.4

Event History

Apr 2, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·10:05 AM
Data Sourced
via MITRE·10:05 AM
DescriptionWeakness
Apr 5, 2021
Data Sourced
via Red Hat·08:05 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this Apache CXF vulnerability?

The vulnerability ID for this Apache CXF vulnerability is CVE-2021-22696.

2

What is the severity of CVE-2021-22696?

The severity of CVE-2021-22696 is high with a severity value of 7.5.

3

How does CVE-2021-22696 affect Apache CXF?

CVE-2021-22696 affects Apache CXF by causing a denial of service due to improper validation of the request_uri parameter.

4

Which versions of Apache CXF are affected by CVE-2021-22696?

Apache CXF versions up to and including 3.4.3 are affected by CVE-2021-22696.

5

How can I fix CVE-2021-22696?

To fix CVE-2021-22696, it is recommended to update Apache CXF to version 3.4.4 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203