CVE-2022-39222

Public Exploit
OAuth authorization code exposure in Dex

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.

Categories

9.3
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 1.00% Top 25%
Third-Party Advisory github.com Third-Party Advisory github.com
Affected: dexidp dex
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-39222?
CVE-2022-39222 has been scored as a critical severity vulnerability.
How to fix CVE-2022-39222?
To fix CVE-2022-39222, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-39222 being actively exploited in the wild?
It is possible that CVE-2022-39222 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-39222?
CVE-2022-39222 affects dexidp dex.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.