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

Medium 5.3 Published Updated

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.

PackageAffectedFixed in
github.com/RobotsAndPencils/go-saml GoAll versionsNone
github.com/RobotsAndPencils/go-saml GoAll versions to 0.0.0-20170520135329-fb13cb52a46bNone
github.com/RobotsAndPencils/go-saml GoAll versions to 0.0.0-20170520135329-fb13cb52a46bNone

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.

Sources

Also known as GHSA-5rhg-xhgr-5hfj, GO-2020-0047.

Is CVE-2020-36563 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free