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 package | Versions | Reported by |
|---|---|---|
| crewjam/saml | grafana-7.3.6, grafana-7.2.3, grafana-6.7.5, github.com/crewjam/saml-0.4.3 | CVE List |
| github.com/crewjam/saml (Go) | before 0.4.3 | GitHub Advisory Database, Go Vulnerability Database |
| grafana grafana | before 6.7.5, from 7.0.0 before 7.2.3, from 7.3.0 before 7.3.6 | NVD |
| saml_project saml | before 0.4.3 | NVD |
| redhat openshift_container_platform | 3.11, 4.0 | NVD |
| redhat openshift_service_mesh | 2.0 | NVD |
| redhat enterprise_linux | 8.0 | NVD |
| fedoraproject fedora | 32, 33 | NVD |
| grafana (Bitnami) | before 6.7.5, from 7.0.0 before 7.2.3, from 7.3.0 before 7.3.6 | Bitnami Vulnerability Database |
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 |
| 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 | 10.0high CVSS:2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Bitnami Vulnerability Database | critical 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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-27846 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4hq8-gmxx-h6w9 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2021-0058 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2020-27846 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GRAFANA-2020-27846 changed 2026-09-08 | Apache-2.0 |