9.8critical
Authentication Bypass in dex
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.72% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-2x32-jm95-2cpxGHSA-m9hp-7r99-94h5
Description
A vulnerability exists in the SAML connector of the github.com/dexidp/dex library used to process SAML Signature Validation. This flaw allows an attacker to bypass SAML authentication. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability. This flaw affects dex versions before 2.27.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dexidp/dex | dex 2.27.0 | CVE List |
| github.com/dexidp/dex (Go) | before 2.27.0 | GitHub Advisory Database |
| github.com/russellhaering/goxmldsig (Go) | before 1.1.0 | GitHub Advisory Database |
| linuxfoundation dex | before 2.27.0 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.3critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
A vulnerability exists in the SAML connector of the github.com/dexidp/dex library used to process SAML Signature Validation. This flaw allows an attacker to bypass SAML authentication. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability. This flaw affects dex versions before 2.27.0.
GitHub Advisory Database
Impact
The following vulnerabilities have been disclosed, which impact users leveraging the SAML connector:
Signature Validation Bypass (CVE-2020-15216): https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7
encoding/xml instabilities:
- Element namespace prefix instability (CVE-2020-29511)
- Attribute namespace prefix instability (CVE-2020-29509)
- Directive comment instability (CVE-2020-29510)
Patches
Immediately update to Dex v2.27.0.
Workarounds
There are no known workarounds.
NVD (es)
Se presenta una vulnerabilidad en el conector SAML de la biblioteca github.com/dexidp/dex que es usado para procesar la comprobación de firma SAML. Este fallo permite a un atacante omitir la autenticación SAML. La mayor amenaza de esta vulnerabilidad es la confidencialidad, la integridad y la disponibilidad del sistema. Este fallo afecta a dex versiones anteriores a 2.27.0
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-27847 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2x32-jm95-2cpx changed 2026-09-10 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-m9hp-7r99-94h5 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2020-27847 changed 2026-06-17 | Public domain |