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


Severity

Recommended
medium

Based on Amazon Linux security rating

    Threat Intelligence

    EPSS
    0.06% (24th 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 ID SNYK-AMZN2-PYTHONPILLOWTK-6515675
  • published 2 Apr 2024
  • disclosed 3 Nov 2023

How to fix?

Upgrade Amazon-Linux:2 python-pillow-tk 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-tk package and not the python-pillow-tk 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
Expand this section

NVD

7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

Red Hat

7.5 high
Expand this section

SUSE

7.5 high