9.3

CVE-2022-39222: OAuth authorization code exposure in Dex

Modified
AliasesCGA-2m8c-w539-mc25CGA-7g65-pm9m-f677GHSA-vh7g-p26c-j2cw
Published 06-10-2022Last modified 22-04-2025

Vulnerability summary

CVE-2022-39222 is a critical (CVSS 9.3) vulnerability in dexidp dex. EPSS estimates a 1.69% chance of exploitation in the next 30 days, higher than 77.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.3/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.69%
0%100%
Low · +0.11 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 06-10-2022
    PublishedVulnerability first disclosed.
  2. 22-04-2025
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

1.69%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

Increase +0.11 pp

From 1.58% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Dex

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard1 product
  • kotsAll versions (No fix recorded)
Dexidp1 product
Github.com/dexidp1 product
  • dex< 2.35.0
Linuxfoundation1 product
Wolfi1 product
  • kotsAll versions (No fix recorded)

5 vendors · 5 products

References

6 links