Improper Handling of Highly Compressed Data (Data Amplification) Affecting github.com/lestrrat-go/jwx/jwe package, versions <1.2.29


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (18th percentile)

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 IDSNYK-GOLANG-GITHUBCOMLESTRRATGOJWXJWE-6420550
  • published10 Mar 2024
  • disclosed9 Mar 2024
  • creditz3r0yu

Introduced: 9 Mar 2024

CVE-2024-28122  (opens in a new tab)
CWE-409  (opens in a new tab)

How to fix?

Upgrade github.com/lestrrat-go/jwx/jwe to version 1.2.29 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) via the processing of a malicious JSON Web Encryption (JWE) token. An attacker in possession of a trusted public key can cause a service to become unresponsive by crafting such a token.

Note: On v2 applications, JWE functionality must be explicitly allowed.

CVSS Scores

version 3.1