CWE
862 200
Advisory Published
Updated

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

First published: Thu Oct 06 2022(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Dex<2.35.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-39222?

    CVE-2022-39222 has been classified as a medium severity vulnerability.

  • How do I fix CVE-2022-39222?

    To fix CVE-2022-39222, upgrade your Dex instance to version 2.35.0 or later.

  • Which versions of Dex are affected by CVE-2022-39222?

    CVE-2022-39222 affects all versions of Dex prior to 2.35.0.

  • What systems are impacted by CVE-2022-39222?

    CVE-2022-39222 impacts Dex instances running with public clients that use tokens issued by affected instances.

  • Is there a public exploit for CVE-2022-39222?

    As of now, there is no known public exploit available for CVE-2022-39222.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203