Skip to main content
← All vulnerabilities
CVE-2024-28180GO-2024-2631GHSA-C5Q2-7R4C-MV6G

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.0.1, 3.0.3, 2.6.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • go-jose go-jose

    fixed in 4.0.1; fixed in 3.0.3; fixed in 2.6.3

  • github.com/go-jose/go-jose/v4Go

    fixed in 4.0.1

  • github.com/go-jose/go-jose/v3Go

    fixed in 3.0.3

  • gopkg.in/go-jose/go-jose.v2Go

    fixed in 2.6.3

  • gopkg.in/square/go-jose.v2Go

    All versions

  • gopkg.in/square/go-jose.v2Go

    through 2.6.0

References 13

GitHub · go-jose/go-jose

lists.fedoraproject.org