CVE-2020-36563 Weak hash (SHA-1) in github.com/RobotsAndPencils/go-saml
Attackers can exploit SHA-1 hash collisions in XML Digital Signatures to bypass authentication in applications using this Go SAML library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-36563?
CVE-2020-36563 is a medium-severity vulnerability in github.com/RobotsAndPencils/go-saml, published on 27 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-347
Which versions are affected by CVE-2020-36563?
3 open source packages ship an affected version, including github.com/RobotsAndPencils/go-saml. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/RobotsAndPencils/go-saml Go | All versions | None |
github.com/RobotsAndPencils/go-saml Go | All versions to 0.0.0-20170520135329-fb13cb52a46b | None |
github.com/RobotsAndPencils/go-saml Go | All versions to 0.0.0-20170520135329-fb13cb52a46b | None |
Products include Robotsandpencils Go-Saml.
How do I fix CVE-2020-36563?
No fix has been published for CVE-2020-36563 yet. Limit exposure of the affected software until one is available.
Is CVE-2020-36563 being exploited?
There is no known exploitation of CVE-2020-36563 in the wild and no public exploit code.
Other vulnerabilities in github.com/RobotsAndPencils/go-saml
Sources
Also known as GHSA-5rhg-xhgr-5hfj, GO-2020-0047.