CVE-2020-27846
JSON

9.8critical

XML Processing error in github.com/crewjam/saml

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
4.93% (higher than 92% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-4hq8-gmxx-h6w9BIT-GRAFANA-2020-27846GO-2021-0058

Description

A signature verification vulnerability exists in crewjam/saml. This flaw allows an attacker to bypass SAML Authentication. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

Affected

Product or packageVersionsReported by
crewjam/samlgrafana-7.3.6, grafana-7.2.3, grafana-6.7.5, github.com/crewjam/saml-0.4.3CVE List
github.com/crewjam/saml (Go)before 0.4.3GitHub Advisory Database, Go Vulnerability Database
grafana grafanabefore 6.7.5, from 7.0.0 before 7.2.3, from 7.3.0 before 7.3.6NVD
saml_project samlbefore 0.4.3NVD
redhat openshift_container_platform3.11, 4.0NVD
redhat openshift_service_mesh2.0NVD
redhat enterprise_linux8.0NVD
fedoraproject fedora32, 33NVD
grafana (Bitnami)before 6.7.5, from 7.0.0 before 7.2.3, from 7.3.0 before 7.3.6Bitnami Vulnerability Database

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
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD10.0high CVSS:2.0AV:N/AC:L/Au:N/C:C/I:C/A:C
Bitnami Vulnerability Databasecritical rating

Classification

What each source says

CVE List

A signature verification vulnerability exists in crewjam/saml. This flaw allows an attacker to bypass SAML Authentication. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

GitHub Advisory Database
Impact

There are three vulnerabilities in the go encoding/xml package that can allow an attacker to forge part of a signed XML document. For details on this vulnerability see xml-roundtrip-validator

Patches

In version 0.4.3, all XML input is validated prior to being parsed.

Go Vulnerability Database

Due to the behavior of encoding/xml, a crafted XML document may cause XML Digital Signature validation to be entirely bypassed, causing an unsigned document to appear signed.

NVD (es)

Se presenta una vulnerabilidad de verificación de firmas en crewjam/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

References

https://bugzilla.redhat.com/show_bug.cgi?id=1907670advisory, issue-tracking, patch, third-party-advisory, web
https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/advisory, exploit, third-party-advisory
https://github.com/crewjam/saml/security/advisories/GHSA-4hq8-gmxx-h6w9advisory, third-party-advisory, web
https://grafana.com/blog/2020/12/17/grafana-6.7.5-7.2.3-and-7.3.6-released-with-important-security-fix-for-grafana-enterprise/advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YUTKIRWT6TWU7DS6GF3EOANVQBFQZYI/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ICP3YRY2VUCNCF2VFUSK77ZMRIC77FEM/vendor-advisory, web
https://security.netapp.com/advisory/ntap-20210205-0002/advisory, third-party-advisory
https://nvd.nist.gov/vuln/detail/CVE-2020-27846advisory, web
https://github.com/crewjam/saml/commit/da4f1a0612c0a8dd0452cf8b3c7a6518f6b4d053fix, web
https://github.com/crewjam/samlpackage
https://grafana.com/blog/2020/12/17/grafana-6.7.5-7.2.3-and-7.3.6-released-with-important-security-fix-for-grafana-enterpriseweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YUTKIRWT6TWU7DS6GF3EOANVQBFQZYIweb

Sources

SourceRecordLicence
CVE ListCVE-2020-27846 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-4hq8-gmxx-h6w9 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2021-0058 changed 2024-05-20CC-BY-4.0
NVDCVE-2020-27846 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GRAFANA-2020-27846 changed 2026-09-08Apache-2.0