{"cve":"CVE-2022-39222","nvd":{"published":"2022-10-06T18:16:09.037","modified":"2026-06-17T04:57:56.790","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-862","CWE-200"],"references":["https://github.com/dexidp/dex/commit/49471b14c8080ddb034d4855841123d378b7a634","https://github.com/dexidp/dex/security/advisories/GHSA-vh7g-p26c-j2cw","https://github.com/dexidp/dex/commit/49471b14c8080ddb034d4855841123d378b7a634","https://github.com/dexidp/dex/security/advisories/GHSA-vh7g-p26c-j2cw"],"products":["linuxfoundation:dex"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-39222","score":0.01584,"percentile":0.75572,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vh7g-p26c-j2cw","url":"https://osv.dev/vulnerability/GHSA-vh7g-p26c-j2cw","summary":"Dex vulnerable to Man-in-the-Middle allowing ID token capture via intercepted authorization code","modified":"2026-09-10T03:49:46.691834039Z","packages":[{"ecosystem":"Go","name":"github.com/dexidp/dex","purl":"pkg:golang/github.com/dexidp/dex","ranges":["<2.35.0"],"fixed":["2.35.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}