GO-2024-2631: Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)

Published Mar 9, 2024
·
Updated

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.

Affected Software

1 affected component
go/github.com/go-jose/go-jose<4.0.1, <3.0.3, <2.6.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Go JOSE to a version that resolves this vulnerability.

    Fixed in 4.0.1
  2. Upgrade

    Upgrade Go JOSE to a version that resolves this vulnerability.

    Fixed in 3.0.3
  3. Upgrade

    Upgrade Go JOSE to a version that resolves this vulnerability.

    Fixed in 2.6.3

Event History

Mar 9, 2024
CVE Published
via OSV·12:54 AM
Data Sourced
via OSV·12:54 AM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203