Allocation of Resources Without Limits or Throttling Affecting python-jwcrypto package, versions <0:0.4.2-1.amzn2.0.3


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.29% (22nd 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-AMZN2-PYTHONJWCRYPTO-16340706
  • published2 May 2026
  • disclosed7 Apr 2026

Introduced: 7 Apr 2026

CVE-2026-39373  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python-jwcrypto to version 0:0.4.2-1.amzn2.0.3 or higher.
This issue was patched in ALAS2-2026-3254.

NVD Description

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

JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to 1.5.7, an unauthenticated attacker can exhaust server memory by sending crafted JWE tokens with ZIP compression. The existing patch for CVE-2024-28102 limits input token size to 250KB but does not validate the decompressed output size. An unauthenticated attacker can cause memory exhaustion on memory-constrained systems. A token under the 250KB input limit can decompress to approximately 100MB. This vulnerability is fixed in 1.5.7.

CVSS Base Scores

version 3.1