Resource Exhaustion Affecting pillow package, versions <7.2.0-1ubuntu0.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
3.17% (88th 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-UBUNTU2010-PILLOW-1085198
  • published11 Mar 2021
  • disclosed3 Mar 2021

Introduced: 3 Mar 2021

CVE-2021-27921  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.10 pillow to version 7.2.0-1ubuntu0.2 or higher.

NVD Description

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

Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.

CVSS Base Scores

version 3.1