CVE-2020-26290
JSON

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 packageVersionsReported by
dexidp dex< 2.27.0CVE List
github.com/dexidp/dex (Go)before 2.27.0GitHub Advisory Database
github.com/russellhaering/goxmldsig (Go)before 1.1.0GitHub Advisory Database
linuxfoundation dexbefore 2.27.0NVD

All scores

GitHub_M9.3critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.3critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
NVD9.6critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV: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:

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.&#xa0;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.&#xa0;Las vulnerabilidades permiten una posible omisión de firmas debido a problemas con la codificación XML en la biblioteca Go subyacente.&#xa0;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

https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-directives.mdnot-applicable, third-party-advisory, web
https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-elements.mdnot-applicable, third-party-advisory, web
https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.mdnot-applicable, third-party-advisory, web
https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/not-applicable, third-party-advisory
https://github.com/dexidp/dex/security/advisories/GHSA-m9hp-7r99-94h5third-party-advisory, web
https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7not-applicable, third-party-advisory, web
https://github.com/dexidp/dex/commit/324b1c886b407594196113a3dbddebe38eecd4e8patch, third-party-advisory, web
https://github.com/dexidp/dex/releases/tag/v2.27.0third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2020-27847advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1907732web
https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilitiesweb
https://nvd.nist.gov/vuln/detail/CVE-2020-26290advisory

Related

Sources

SourceRecordLicence
CVE ListCVE-2020-26290 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-2x32-jm95-2cpx changed 2026-09-10CC-BY-4.0
GitHub Advisory DatabaseGHSA-m9hp-7r99-94h5 changed 2026-09-10CC-BY-4.0
NVDCVE-2020-26290 changed 2026-06-17Public domain