Improper Handling of Highly Compressed Data (Data Amplification) Affecting github.com/go-jose/go-jose/v3 package, versions <3.0.3


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.05% (14th percentile)
Expand this section
Red Hat
4.3 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMGOJOSEGOJOSEV3-6419233
  • published 8 Mar 2024
  • disclosed 7 Mar 2024
  • credit Enze Wang, Jianjun Chen

How to fix?

Upgrade github.com/go-jose/go-jose/v3 to version 3.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification). An attacker could send a JWE containing compressed data that, when decompressed by Decrypt or DecryptMulti, would use large amounts of memory and CPU.