9.3critical
Critical security issues in XML encoding in Dex
- Severity
- 9.3critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.99% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-2x32-jm95-2cpxGHSA-m9hp-7r99-94h5
Description
Dex is a federated OpenID Connect provider written in Go. In Dex before version 2.27.0 there is a critical set of vulnerabilities which impacts users leveraging the SAML connector. The vulnerabilities enables potential signature bypass due to issues with XML encoding in the underlying Go library. The vulnerabilities have been addressed in version 2.27.0 by using the xml-roundtrip-validator from Mattermost (see related references).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dexidp 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_M | 9.3critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| 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.6critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
Dex is a federated OpenID Connect provider written in Go. In Dex before version 2.27.0 there is a critical set of vulnerabilities which impacts users leveraging the SAML connector. The vulnerabilities enables potential signature bypass due to issues with XML encoding in the underlying Go library. The vulnerabilities have been addressed in version 2.27.0 by using the xml-roundtrip-validator from Mattermost (see related references).
GitHub Advisory Database
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)
Dex es un proveedor federado de OpenID Connect escrito en Go. En Dex versión anterior a 2.27.0, presenta un conjunto crítico de vulnerabilidades que impacta a usuarios que aprovechan el conector SAML. Las vulnerabilidades permiten una posible omisión de firmas debido a problemas con la codificación XML en la biblioteca Go subyacente. Las vulnerabilidades han sido abordadas en la versión 2.27.0, mediante el uso de xml-roundtrip-validator de Mattermost (consulte las referencias relacionadas)
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-26290 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-26290 changed 2026-06-17 | Public domain |