GO-2020-0050

Source
https://pkg.go.dev/vuln/GO-2020-0050
Import Source
https://vuln.go.dev/ID/GO-2020-0050.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2020-0050
Aliases
Related
Published
2021-04-14T20:04:52Z
Modified
2025-01-08T07:26:58.440485Z
Summary
XML digital signature validation bypass in github.com/russellhaering/goxmldsig
Details

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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2020-0050"
}
References
Credits
    • @jupenur

Affected packages

Go / github.com/russellhaering/goxmldsig

Package

Name
github.com/russellhaering/goxmldsig
View open source insights on deps.dev
Purl
pkg:golang/github.com/russellhaering/goxmldsig

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.0

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/russellhaering/goxmldsig",
            "symbols": [
                "ValidationContext.Validate",
                "ValidationContext.findSignature"
            ]
        }
    ]
}