Security mailing lists by PureSourceCode

CVE-2024-28180

MEDIUM 4.3CVSS 3.1

Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)

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.

Published
9 Mar 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-409
Also known as
GHSA-c5q2-7r4c-mv6gGO-2024-2631
Sources
NVDJSONOSV GHSA-c5q2-7r4c-mv6gJSONOSV GO-2024-2631JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD go-jose_project go-jose
cpe:2.3:a:go-jose_project:go-jose:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.6.3 2.6.3
NVD go-jose_project go-jose
cpe:2.3:a:go-jose_project:go-jose:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.3 3.0.3
NVD go-jose_project go-jose
cpe:2.3:a:go-jose_project:go-jose:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.0.1 4.0.1
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:*:*:*:*:*:*:*:*
>= 38, <= 40
OSV Go github.com/go-jose/go-jose/v4 < 4.0.1 4.0.1
OSV Go github.com/go-jose/go-jose/v3 < 3.0.3 3.0.3
OSV Go gopkg.in/go-jose/go-jose.v2 < 2.6.3 2.6.3
OSV Go gopkg.in/square/go-jose.v2 <= 2.6.0
OSV Go gopkg.in/square/go-jose.v2 all versions

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 9 Mar 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Mar 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.