Vulnerability · Published Sep 29, 2020 · Assigned by GitHub_M
CVE-2020-15216Signature Validation Bypass in goxmldsig
Medium 5.3
In plain English
A medium-severity security flaw in goxmldsig from russellhaering. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-russellhaering-goxmldsig | 1.1.0-1 | DEBIAN-CVE-2020-15216 |
| Go | github.com/russellhaering/goxmldsig | 1.1.0 | GHSA-q547-gmf8-8jr7 |
| Go | github.com/russellhaering/goxmldsig | 1.1.0 | GO-2020-0050 |
| Ubuntu:22.04:LTS | golang-github-russellhaering-goxmldsig | no fix listed | UBUNTU-CVE-2020-15216 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| russellhaering | goxmldsig | < 1.1.0 |
Weakness: CWE-347 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
References
- https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7 x_refsource_CONFIRM
- https://github.com/russellhaering/goxmldsig/commit/f6188febf0c29d7ffe26a0436212b19cb9615e64 x_refsource_MISC
- https://pkg.go.dev/github.com/russellhaering/goxmldsig?tab=overview x_refsource_MISC
- FEDORA-2021-a2a7673da2 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-9316ee2948 vendor-advisory, x_refsource_FEDORA