GO-2024-2631

Source
https://pkg.go.dev/vuln/GO-2024-2631
Import Source
https://vuln.go.dev/ID/GO-2024-2631.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2024-2631
Aliases
Published
2024-03-15T18:16:11Z
Modified
2024-10-22T05:28:53.110910Z
Summary
Decompression bomb vulnerability in github.com/go-jose/go-jose
Details

An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2024-2631"
}
References
Credits
    • zer0yu
    • chenjj

Affected packages

Go / github.com/go-jose/go-jose/v4

Package

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

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/go-jose/go-jose/v4",
            "symbols": [
                "JSONWebEncryption.Decrypt",
                "JSONWebEncryption.DecryptMulti",
                "inflate"
            ]
        }
    ]
}

Go / github.com/go-jose/go-jose/v3

Package

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

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/go-jose/go-jose/v3",
            "symbols": [
                "JSONWebEncryption.Decrypt",
                "JSONWebEncryption.DecryptMulti",
                "inflate"
            ]
        }
    ]
}

Go / gopkg.in/go-jose/go-jose.v2

Package

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

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "gopkg.in/go-jose/go-jose.v2",
            "symbols": [
                "JSONWebEncryption.Decrypt",
                "JSONWebEncryption.DecryptMulti",
                "inflate"
            ]
        }
    ]
}

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

Package

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

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "gopkg.in/square/go-jose.v2",
            "symbols": [
                "JSONWebEncryption.Decrypt",
                "JSONWebEncryption.DecryptMulti",
                "inflate"
            ]
        }
    ]
}