GO-2023-2409

Source
https://pkg.go.dev/vuln/GO-2023-2409
Import Source
https://vuln.go.dev/ID/GO-2023-2409.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2023-2409
Aliases
Published
2023-12-20T17:35:00Z
Modified
2024-07-02T18:27:54.108480Z
Summary
Denial of service when decrypting attacker controlled input in github.com/dvsekhvalnov/jose2go
Details

An attacker controlled input of a PBES2 encrypted JWE blob can have a very large p2c value that, when decrypted, produces a denial-of-service.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2023-2409"
}
References
Credits
    • @mschwager

Affected packages

Go / github.com/dvsekhvalnov/jose2go

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.1-0.20231206184617-48ba0b76bc88

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/dvsekhvalnov/jose2go",
            "symbols": [
                "Compress",
                "Decode",
                "DecodeBytes",
                "Encrypt",
                "EncryptBytes",
                "Pbse2HmacAesKW.Unwrap",
                "Pbse2HmacAesKW.WrapNewKey",
                "decrypt",
                "encrypt"
            ]
        }
    ]
}