Auth bypass in Dexidp Dex
CVE-2022-39222
Dex is an identity service that uses OpenID Connect to drive authentication for other apps. Dex instances with public clients (and by extension, clients accepting tokens issued by those Dex instances) are affected by this vulnerability if they are running a version prior to 2.35.0. An attacker can exploit this vulnerability by making a victim navigate to a malicious website and guiding them through the OIDC flow, stealing the OAuth authorization code in the process. The authorization code then can be exchanged by the attacker for a token, gaining access to applications accepting that token. Version 2.35.0 has introduced a fix for this issue. Users are advised to upgrade. There are no known workarounds for this issue.
Vulnerability class: Information Disclosure
EPSS: 0.012 (66.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.3 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
Affected products
- Dexidp Dex — versions < 2.35.0
- Linuxfoundation Dex
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (Exploit, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-39222?
- CVE-2022-39222 is a critical-severity vulnerability in Dexidp Dex, classified under Information Disclosure. CVSS score: 9.3/10. Published 2022-10-06.
- How severe is CVE-2022-39222?
- Critical severity. CVSS v3 base score is 9.3 out of 10.
- Is CVE-2022-39222 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.