GO-2020-0046

Source
https://pkg.go.dev/vuln/GO-2020-0046
Import Source
https://vuln.go.dev/ID/GO-2020-0046.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2020-0046
Aliases
Published
2021-04-14T20:04:52Z
Modified
2025-01-14T08:57:23.217115Z
Summary
Panic due to malformed XML digital signature in github.com/russellhaering/goxmldsig
Details

Due to a nil pointer dereference, a malformed XML Digital Signature can cause a panic during validation. If user supplied signatures are being validated, this may be used as a denial of service vector.

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

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.1

Ecosystem specific

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

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.7.0

Ecosystem specific

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