CVE-2022-39222
OAuth authorization code exposure in Dex
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
Dex es un servicio de identidad que usa OpenID Connect para impulsar la autenticación de otras aplicaciones. Las instancias de Dex con clientes públicos (y por extensión, los clientes que aceptan tokens emitidos por esas instancias de Dex) están afectadas por esta vulnerabilidad si están ejecutando una versión anterior a la 2.35.0. Un atacante puede explotar esta vulnerabilidad al hacer que una víctima navegue a un sitio web malicioso y guiándola mediante el flujo OIDC, robando el código de autorización OAuth en el proceso. El código de autorización puede entonces ser intercambiado por el atacante por un token, consiguiendo acceso a las aplicaciones que aceptan ese token. La versión 2.35.0 ha introducido una corrección para este problema. Es recomendado a usuarios actualizar. No se presentan mitigaciones conocidas para este problema
A flaw was found in Dex, an identity service that uses OpenID Connect to drive authentication for other apps. This issue may allow an attacker to make a victim navigate to a malicious website and guide 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.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-09-02 CVE Reserved
- 2022-10-06 CVE Published
- 2024-04-28 EPSS Updated
- 2024-08-03 CVE Updated
- 2024-08-03 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-862: Missing Authorization
CAPEC
References (4)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://github.com/dexidp/dex/security/advisories/GHSA-vh7g-p26c-j2cw | 2024-08-03 |
URL | Date | SRC |
---|---|---|
https://github.com/dexidp/dex/commit/49471b14c8080ddb034d4855841123d378b7a634 | 2023-07-11 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2022-39222 | 2023-12-11 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2253625 | 2023-12-11 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Linuxfoundation Search vendor "Linuxfoundation" | Dex Search vendor "Linuxfoundation" for product "Dex" | < 2.35.0 Search vendor "Linuxfoundation" for product "Dex" and version " < 2.35.0" | - |
Affected
|