Openshift/oauth-server: openshift/oauth-server: quadratic-time dos via accept-language header underscore bypass on unauthenticated login endpoints
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
A flaw was found in openshift/oauth-server. The OAuth login and error page endpoints pass the unauthenticated Accept-Language header to golang.org/x/text/language.ParseAcceptLanguage() without input validation. A bypass of the CVE-2022-32149 mitigation exists: the upstream guard counts only '-' characters but the internal BCP 47 scanner aliases '' to '-' after the guard check. An unauthenticated attacker can send a crafted Accept-Language header using '' separators to trigger quadratic-time parsing, consuming excessive CPU and denying authentication to all cluster users.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- openshift4/ose-oauth-server-rhel8
Version range not reported
- openshift4/ose-oauth-server-rhel9
Version range not reported
- openshift4/ose-oauth-server-rhel9
Version range not reported
- openshift4/ose-oauth-server-rhel9
Version range not reported
- openshift4/ose-oauth-server-rhel9
Version range not reported
- openshift4/ose-oauth-server-rhel9
Version range not reported
- openshift4/ose-oauth-server-rhel9
Version range not reported
- openshift4/ose-oauth-server-rhel9
Version range not reported
- openshift5/ose-oauth-server-rhel9
Version range not reported