GO-2022-0945

Source
https://pkg.go.dev/vuln/GO-2022-0945
Import Source
https://vuln.go.dev/ID/GO-2022-0945.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0945
Aliases
Published
2022-08-22T17:59:45Z
Modified
2024-05-20T16:03:47Z
Summary
Signature validation bypass in gopkg.in/square/go-jose.v1
Details

The go-jose library suffers from multiple signatures exploitation. When validating a signed message, the API did not indicate which signature was valid, which creates the potential for confusion.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0945"
}
References
Credits
    • Quan Nguyen from Google's Information Security Engineering Team

Affected packages

Go / gopkg.in/square/go-jose.v1

Package

Name
gopkg.in/square/go-jose.v1
View open source insights on deps.dev
Purl
pkg:golang/gopkg.in/square/go-jose.v1

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "gopkg.in/square/go-jose.v1",
            "symbols": [
                "JsonWebEncryption.Decrypt",
                "JsonWebKey.UnmarshalJSON",
                "JsonWebSignature.Verify",
                "ecDecrypterSigner.decryptKey",
                "rawJsonWebKey.ecPublicKey"
            ]
        },
        {
            "path": "gopkg.in/square/go-jose.v1/cipher",
            "symbols": [
                "DeriveECDHES",
                "NewConcatKDF",
                "cbcAEAD.Open",
                "cbcAEAD.Seal",
                "cbcAEAD.computeAuthTag",
                "padBuffer",
                "resize"
            ]
        }
    ]
}