CVE-2020-15216
JSON

5.3medium

Signature Validation Bypass in goxmldsig

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.90% (higher than 60% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-q547-gmf8-8jr7GO-2020-0050

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

Product or packageVersionsReported by
russellhaering goxmldsig< 1.1.0CVE List
github.com/russellhaering/goxmldsig (Go)before 1.1.0GitHub Advisory Database, Go Vulnerability Database
goxmldsig_project goxmldsigbefore 1.1.0NVD
fedoraproject fedora32, 33NVD

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

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

GitHub Advisory Database
Impact

With a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one.

Patches

A patch is available, all users of goxmldsig should upgrade to v1.1.0.

For more information

If you have any questions or comments about this advisory open an issue at https://github.com/russellhaering/goxmldsig

Go Vulnerability Database

Due to the behavior of encoding/xml, a crafted XML document may cause XML Digital Signature validation to be entirely bypassed, causing an unsigned document to appear signed.

NVD (es)

En goxmldsig (firmas digitales XML implementadas en Pure Go), versiones anteriores a 1.1.0, con un archivo XML cuidadosamente diseñado, un atacante puede omitir por completo una comprobación de firmas y dejar pasar un archivo alterado como uno firmado. Un parche está disponible, todos los usuarios de goxmldsig deben actualizar al menos a la revisión f6188febf0c29d7ffe26a0436212b19cb9615e64 o versión 1.1.0

References

https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7third-party-advisory, web
https://github.com/russellhaering/goxmldsig/commit/f6188febf0c29d7ffe26a0436212b19cb9615e64fix, patch, third-party-advisory, web
https://pkg.go.dev/github.com/russellhaering/goxmldsig?tab=overviewthird-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZECBFD4M4PHBMBOCMSQ537NOU37QOVWP/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GUH33FPUXED3FHYL25BJOQPRKFGPOMS2/vendor-advisory
https://nvd.nist.gov/vuln/detail/CVE-2020-15216advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GUH33FPUXED3FHYL25BJOQPRKFGPOMS2web
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZECBFD4M4PHBMBOCMSQ537NOU37QOVWPweb
https://pkg.go.dev/vuln/GO-2020-0050web

Related

Sources

SourceRecordLicence
CVE ListCVE-2020-15216 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-q547-gmf8-8jr7 changed 2026-07-08CC-BY-4.0
Go Vulnerability DatabaseGO-2020-0050 changed 2026-02-04CC-BY-4.0
NVDCVE-2020-15216 changed 2026-06-17Public domain