Live threats

All CVEs / Go-jose Project

CVE-2024-28180Go-jose Project Go-jose

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
2.5%
probability of exploitation in 30 days · percentile 85
Auth required
Yes
Published
Mar 9, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-409
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

What happens

Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). This vulnerability has been patched in versions 4.0.1, 3.0.3 and 2.6.3.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go-jose.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/go-jose/go-jose/v3 < 3.0.3 3.0.3 go get github.com/go-jose/go-jose/v3@v3.0.3
Go github.com/go-jose/go-jose/v3 < 3.0.3 3.0.3 go get github.com/go-jose/go-jose/v3@v3.0.3
Go github.com/go-jose/go-jose/v4 < 4.0.1 4.0.1 go get github.com/go-jose/go-jose/v4@v4.0.1
Go github.com/go-jose/go-jose/v4 < 4.0.1 4.0.1 go get github.com/go-jose/go-jose/v4@v4.0.1
Go gopkg.in/go-jose/go-jose.v2 < 2.6.3 2.6.3 go get gopkg.in/go-jose/go-jose.v2@v2.6.3
Go gopkg.in/go-jose/go-jose.v2 < 2.6.3 2.6.3 go get gopkg.in/go-jose/go-jose.v2@v2.6.3
Go gopkg.in/square/go-jose.v2 ≤ 2.6.0 no fixed version —
Go gopkg.in/square/go-jose.v2 all no fixed version —

Per OSV / GitHub Advisories (GHSA-c5q2-7r4c-mv6g, GO-2024-2631). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
go-jose_projectgo-jose≥ 2.0.0 < 2.6.3
go-jose_projectgo-jose≥ 3.0.0 < 3.0.3
go-jose_projectgo-jose≥ 4.0.0 < 4.0.1
fedoraprojectfedora≥ 38 ≤ 40

Official advisories

Also: Red Hat (+2)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.