CVE-2020-15216 Signature Validation Bypass in goxmldsig

Medium 5.3 Published Updated

Attackers can bypass XML signature validation in goxmldsig, allowing them to present altered files as legitimately signed.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-15216?

CVE-2020-15216 is a medium-severity vulnerability in Fedoraproject Fedora, published on 29 Sep 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one. A patch is available, all users of goxmldsig should upgrade to at least revision f6188febf0c29d7ffe26a0436212b19cb9615e64 or version 1.1.0

Weakness: CWE-347

Which versions are affected by CVE-2020-15216?

3 open source packages ship an affected version, including github.com/russellhaering/goxmldsig. It affects 2 products.

PackageAffectedFixed in
github.com/russellhaering/goxmldsig GoAll versions1.1.0
github.com/russellhaering/goxmldsig GoAll versions1.1.0
github.com/russellhaering/goxmldsig GoAll versions1.1.0

Products include Fedoraproject Fedora, Goxmldsig Project Goxmldsig.

How do I fix CVE-2020-15216?

Upgrade github.com/russellhaering/goxmldsig to 1.1.0 or later.

Is CVE-2020-15216 being exploited?

There is no known exploitation of CVE-2020-15216 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-15216, GHSA-q547-gmf8-8jr7, GO-2020-0050, UBUNTU-CVE-2020-15216.

Is CVE-2020-15216 in your software?

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

Check your SBOMs for free