Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/crewjam/saml
  4. ›
  5. CVE-2020-27846

CVE-2020-27846: XML Processing error in github.com/crewjam/saml

June 23, 2021 (updated September 19, 2025)

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

References

  • bugzilla.redhat.com/show_bug.cgi?id=1907670
  • github.com/advisories/GHSA-4hq8-gmxx-h6w9
  • github.com/crewjam/saml
  • github.com/crewjam/saml/commit/da4f1a0612c0a8dd0452cf8b3c7a6518f6b4d053
  • github.com/crewjam/saml/security/advisories/GHSA-4hq8-gmxx-h6w9
  • 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
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YUTKIRWT6TWU7DS6GF3EOANVQBFQZYI
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICP3YRY2VUCNCF2VFUSK77ZMRIC77FEM
  • mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities
  • nvd.nist.gov/vuln/detail/CVE-2020-27846
  • pkg.go.dev/vuln/GO-2021-0058
  • security.netapp.com/advisory/ntap-20210205-0002

Code Behaviors & Features

Detect and mitigate CVE-2020-27846 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.4.3

Fixed versions

  • 0.4.3

Solution

Upgrade to version 0.4.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-115: Misinterpretation of Input
  • CWE-287: Improper Authentication

Source file

go/github.com/crewjam/saml/CVE-2020-27846.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:02 +0000.