{"id":"CVE-2020-27846","aliases":["CVE-2020-27846","GHSA-4hq8-gmxx-h6w9","BIT-GRAFANA-2020-27846","GO-2021-0058"],"related":[],"kind":"vulnerability","state":"published","title":"XML Processing error in github.com/crewjam/saml","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThere 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](https://github.com/mattermost/xml-roundtrip-validator)\n\n### Patches\n\nIn version 0.4.3, all XML input is validated prior to being parsed.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"go"},{"lang":"es","text":"Se presenta una vulnerabilidad de verificación de firmas en crewjam/saml.&#xa0;Este fallo permite a un atacante omitir la autenticación SAML.&#xa0;La mayor amenaza de esta vulnerabilidad es la confidencialidad, la integridad y la disponibilidad del sistema","source":"nvd"}],"published":"2020-12-21T15:16:14.000Z","modified":"2026-09-10T03:49:15.079Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","score":10,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-115","CWE-287"],"affected":[{"ranges":[{"version":"grafana-7.3.6, grafana-7.2.3, grafana-6.7.5, github.com/crewjam/saml-0.4.3","status":"affected"}],"product":"crewjam/saml","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.3"}],"ecosystem":"Go","package":"github.com/crewjam/saml","purl":"pkg:golang/github.com/crewjam/saml","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.3"}],"ecosystem":"Go","package":"github.com/crewjam/saml","purl":"pkg:golang/github.com/crewjam/saml","source":"go"},{"ranges":[{"status":"affected","fixed":"6.7.5"},{"status":"affected","introduced":"7.0.0","fixed":"7.2.3"},{"status":"affected","introduced":"7.3.0","fixed":"7.3.6"}],"vendor":"grafana","product":"grafana","cpe":"cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"0.4.3"}],"vendor":"saml_project","product":"saml","cpe":"cpe:2.3:a:saml_project:saml:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"3.11"},{"status":"affected","version":"4.0"}],"vendor":"redhat","product":"openshift_container_platform","cpe":"cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"2.0"}],"vendor":"redhat","product":"openshift_service_mesh","cpe":"cpe:2.3:a:redhat:openshift_service_mesh:2.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"32"},{"status":"affected","version":"33"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.7.5"},{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.2.3"},{"type":"semver","introduced":"7.3.0","status":"affected","fixed":"7.3.6"}],"ecosystem":"Bitnami","package":"grafana","purl":"pkg:bitnami/grafana","source":"bitnami"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1907670","tags":["advisory","issue-tracking","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/","tags":["advisory","exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/crewjam/saml/security/advisories/GHSA-4hq8-gmxx-h6w9","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"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/","tags":["advisory","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YUTKIRWT6TWU7DS6GF3EOANVQBFQZYI/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ICP3YRY2VUCNCF2VFUSK77ZMRIC77FEM/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20210205-0002/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27846","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/crewjam/saml/commit/da4f1a0612c0a8dd0452cf8b3c7a6518f6b4d053","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/crewjam/saml","tags":["package"],"sources":["ghsa"]},{"url":"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","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YUTKIRWT6TWU7DS6GF3EOANVQBFQZYI","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICP3YRY2VUCNCF2VFUSK77ZMRIC77FEM","tags":["web"],"sources":["ghsa"]},{"url":"https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0058","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20210205-0002","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-27846","url":"https://www.cve.org/CVERecord?id=CVE-2020-27846","licence":"CVE Terms of Use","modified":"2024-08-04T16:25:43.248Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4hq8-gmxx-h6w9","url":"https://github.com/advisories/GHSA-4hq8-gmxx-h6w9","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:15.079Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2021-0058","url":"https://pkg.go.dev/vuln/GO-2021-0058","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-27846","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27846","licence":"Public domain","modified":"2026-06-17T03:09:43.880Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GRAFANA-2020-27846","url":"https://osv.dev/vulnerability/BIT-GRAFANA-2020-27846","licence":"Apache-2.0","modified":"2026-09-08T08:47:50.650Z"}],"updatedAt":"2026-11-25T22:57:56.336Z","epss":{"score":0.04931,"percentile":0.92323,"date":"2026-12-01T12:00:22.000Z"}}