CVE-2020-27847
JSON

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 packageVersionsReported by
dexidp/dexdex 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

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.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV: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:

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

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

Related

Sources

SourceRecordLicence
CVE ListCVE-2020-27847 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-27847 changed 2026-06-17Public domain