Bug 2253625 (CVE-2022-39222) - CVE-2022-39222 dexidp: gaining access to applications accepting that token
Summary: CVE-2022-39222 dexidp: gaining access to applications accepting that token
Keywords:
Status: NEW
Alias: CVE-2022-39222
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2253624
TreeView+ depends on / blocked
 
Reported: 2023-12-08 10:46 UTC by Rohit Keshri
Modified: 2024-03-26 18:44 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:7725 0 None None None 2023-12-11 15:09:56 UTC

Description Rohit Keshri 2023-12-08 10:46:09 UTC
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.

https://github.com/dexidp/dex/security/advisories/GHSA-vh7g-p26c-j2cw
https://github.com/dexidp/dex/commit/49471b14c8080ddb034d4855841123d378b7a634

Comment 4 errata-xmlrpc 2023-12-11 15:09:55 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Security 4.3

Via RHSA-2023:7725 https://access.redhat.com/errata/RHSA-2023:7725


Note You need to log in before you can comment on or make changes to this bug.