Resource Exhaustion Affecting python-pillow package, versions <0:2.0.0-23.gitd1c6db8.amzn2.0.12


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.1% (44th 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 Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-PYTHONPILLOW-6515686
  • published2 Apr 2024
  • disclosed3 Nov 2023

Introduced: 3 Nov 2023

CVE-2023-44271  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python-pillow to version 0:2.0.0-23.gitd1c6db8.amzn2.0.12 or higher.
This issue was patched in ALAS2-2024-2508.

NVD Description

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

An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably allocates memory to process a given task, potentially causing a service to crash by having it run out of memory. This occurs for truetype in ImageFont when textlength in an ImageDraw instance operates on a long text argument.

CVSS Scores

version 3.1