CVE-2024-28102 Affecting py3-jwcrypto package, versions <1.5.6-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (12th 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-WOLFILATEST-PY3JWCRYPTO-6420410
  • published9 Mar 2024
  • disclosed21 Mar 2024

Introduced: 9 Mar 2024

CVE-2024-28102  (opens in a new tab)

How to fix?

Upgrade Wolfi py3-jwcrypto to version 1.5.6-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-jwcrypto package and not the py3-jwcrypto package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to version 1.5.6, an attacker can cause a denial of service attack by passing in a malicious JWE Token with a high compression ratio. When the server processes this token, it will consume a lot of memory and processing time. Version 1.5.6 fixes this vulnerability by limiting the maximum token length.

CVSS Scores

version 3.1