Live threats

All CVEs / Linuxfoundation

CVE-2022-39222Linuxfoundation Dex

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Oct 6, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-862
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Dex.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/dexidp/dex < 2.35.0 2.35.0 go get github.com/dexidp/dex@v2.35.0

Per OSV / GitHub Advisories (GHSA-vh7g-p26c-j2cw). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationdex< 2.35.0

Official sources

References

Links published by the sources. Open them with care.