GO-2023-1859

Source
https://pkg.go.dev/vuln/GO-2023-1859
Import Source
https://vuln.go.dev/ID/GO-2023-1859.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2023-1859
Aliases
Published
2023-06-22T16:36:11Z
Modified
2024-05-20T16:03:47Z
Summary
Padding oracle vulnerability in github.com/lestrrat-go/jwx
Details

AES-CBC decryption is vulnerable to a timing attack which may permit an attacker to recover the plaintext of JWE data.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2023-1859"
}
References

Affected packages

Go / github.com/lestrrat-go/jwx

Package

Name
github.com/lestrrat-go/jwx
View open source insights on deps.dev
Purl
pkg:golang/github.com/lestrrat-go/jwx

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/lestrrat-go/jwx/jwe/internal/aescbc",
            "symbols": [
                "Hmac.Open",
                "unpad"
            ]
        }
    ]
}

Go / github.com/lestrrat-go/jwx/v2

Package

Name
github.com/lestrrat-go/jwx/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/lestrrat-go/jwx/v2

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.11-0.20230614080639-c8b6bec919a1

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/lestrrat-go/jwx/v2/jwe/internal/aescbc",
            "symbols": [
                "Hmac.Open",
                "unpad"
            ]
        }
    ]
}