{"id":"GHSA-4hq8-gmxx-h6w9","summary":"XML Processing error in github.com/crewjam/saml","details":"### 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.","aliases":["BIT-grafana-2020-27846","CVE-2020-27846","GO-2021-0058"],"modified":"2026-05-15T12:14:14.917955619Z","published":"2021-06-23T17:29:42Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-05-21T20:54:26Z","nvd_published_at":null,"cwe_ids":["CWE-115","CWE-287"],"severity":"CRITICAL"},"references":[{"type":"WEB","url":"https://github.com/crewjam/saml/security/advisories/GHSA-4hq8-gmxx-h6w9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27846"},{"type":"WEB","url":"https://github.com/crewjam/saml/commit/da4f1a0612c0a8dd0452cf8b3c7a6518f6b4d053"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1907670"},{"type":"PACKAGE","url":"https://github.com/crewjam/saml"},{"type":"WEB","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"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YUTKIRWT6TWU7DS6GF3EOANVQBFQZYI"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICP3YRY2VUCNCF2VFUSK77ZMRIC77FEM"},{"type":"WEB","url":"https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0058"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210205-0002"}],"affected":[{"package":{"name":"github.com/crewjam/saml","ecosystem":"Go","purl":"pkg:golang/github.com/crewjam/saml"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-4hq8-gmxx-h6w9/GHSA-4hq8-gmxx-h6w9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}