Signature Validation Bypass Affecting github.com/russellhaering/goxmldsig package, versions <1.1.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOXMLDSIG-1014528
  • published30 Sept 2020
  • disclosed30 Sept 2020
  • creditJuho Nurminen

Introduced: 30 Sep 2020

CVE-2020-15216  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade github.com/russellhaering/goxmldsig to version 1.1.0 or higher.

Overview

github.com/russellhaering/goxmldsig is a XML Digital Signatures implemented in pure Go.

Affected versions of this package are vulnerable to Signature Validation Bypass. With a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one.

References

CVSS Base Scores

version 3.1