# CVE-2020-36563: Weak hash (SHA-1) in github.com/RobotsAndPencils/go-saml

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-02)
- Published: 2021-04-14T20:04:52.000Z
- Modified: 2026-06-17T03:15:44.717Z
- Also known as: GHSA-5rhg-xhgr-5hfj, GO-2020-0047
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Go

## Description

XML Digital Signatures generated and validated using this package use SHA-1, which may allow an attacker to craft inputs which cause hash collisions depending on their control over the input.

(As written by CVE List.)

## Affected

- github.com/RobotsAndPencils/go-saml: no versions given
- github.com/RobotsAndPencils/go-saml (Go): up to 0.0.0-20170520135329-fb13cb52a46b; all versions
- robotsandpencils go-saml: no versions given

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/RobotsAndPencils/go-saml/pull/38> (patch, third-party-advisory, web)
- <https://pkg.go.dev/vuln/GO-2020-0047> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-36563> (advisory)
- <https://github.com/RobotsAndPencils/go-saml/commit/4a1b1f5752a029e171965e0510a425d0fdd1eced> (web)
- <https://github.com/RobotsAndPencils/go-saml> (package)

## Sources

- CVE List: [CVE-2020-36563](https://www.cve.org/CVERecord?id=CVE-2020-36563), CVE Terms of Use, modified 2025-04-11
- GitHub Advisory Database: [GHSA-5rhg-xhgr-5hfj](https://github.com/advisories/GHSA-5rhg-xhgr-5hfj), CC-BY-4.0, modified 2025-04-11
- Go Vulnerability Database: [GO-2020-0047](https://pkg.go.dev/vuln/GO-2020-0047), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2020-36563](https://nvd.nist.gov/vuln/detail/CVE-2020-36563), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-36563 · Whole record: https://cve.day/CVE-2020-36563.json · Rebuilt by cve.day 2026-11-25T22:57:58.780Z
