GO-2021-0060

Source
https://pkg.go.dev/vuln/GO-2021-0060
Import Source
https://vuln.go.dev/ID/GO-2021-0060.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0060
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
Authentication bypass in github.com/russellhaering/gosaml2
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-2021-0060"
}
References
Credits
    • Juho Nurminen

Affected packages

Go / github.com/russellhaering/gosaml2

Package

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

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/russellhaering/gosaml2",
            "symbols": [
                "SAMLServiceProvider.RetrieveAssertionInfo",
                "SAMLServiceProvider.ValidateEncodedLogoutRequestPOST",
                "SAMLServiceProvider.ValidateEncodedLogoutResponsePOST",
                "SAMLServiceProvider.ValidateEncodedResponse",
                "parseResponse"
            ]
        }
    ]
}