{"id":"GHSA-4hq8-gmxx-h6w9","revision":"a55b68ae6431487c8ceb723a25a39088","records":[{"revision":"a55b68ae6431487c8ceb723a25a39088","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-4hq8-gmxx-h6w9","aliases":["BIT-grafana-2020-27846","CVE-2020-27846","GO-2021-0058"],"title":"XML Processing error in github.com/crewjam/saml","description":"### 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.","state":0,"publishedAt":"2021-06-23T17:29:42+00:00","modifiedAt":"2026-09-10T03:49:15.0797226+00:00","affected":[{"ecosystem":"Go","name":"github.com/crewjam/saml","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.4.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/crewjam/saml/security/advisories/GHSA-4hq8-gmxx-h6w9","https://nvd.nist.gov/vuln/detail/CVE-2020-27846","https://github.com/crewjam/saml/commit/da4f1a0612c0a8dd0452cf8b3c7a6518f6b4d053","https://bugzilla.redhat.com/show_bug.cgi?id=1907670","https://github.com/crewjam/saml","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","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YUTKIRWT6TWU7DS6GF3EOANVQBFQZYI","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICP3YRY2VUCNCF2VFUSK77ZMRIC77FEM","https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities","https://pkg.go.dev/vuln/GO-2021-0058","https://security.netapp.com/advisory/ntap-20210205-0002"],"sourceUrl":"https://github.com/advisories/GHSA-4hq8-gmxx-h6w9","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4hq8-gmxx-h6w9","identifiers":["GHSA-4hq8-gmxx-h6w9","BIT-grafana-2020-27846","CVE-2020-27846","GO-2021-0058"]},"retained":false,"historicalAffected":[]}],"coverage":[]}