CVE-2020-15216: github.com/russellhaering/goxmldsig vulnerable to Signature Validation Bypass
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.43517%
CWE
Published
5/24/2021
Updated
8/29/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/russellhaering/goxmldsig | go | < 1.1.0 | 1.1.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from insufficient structural validation of the XML Signature element. The commit f6188febf0c29d7ffe26a0436212b19cb9615e64 added a validateShape
function to check signature structure, which was missing in previous versions. The findSignature
function was vulnerable because it processed signatures without first verifying required child elements (SignedInfo, SignatureValue) were present in correct quantities, enabling signature bypass through XML structure manipulation.