CVE-2019-19911

Aliases:GHSA-5gm3-px64-rw72PYSEC-2020-172
Advisory lineage Upstream: 0 Downstream: 11
Modified
Published: 05 Jan 2020, 21:57
Last modified:05 Aug 2024, 02:32

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
0.96% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

05 Jan 2020, 21:57
Published
Vulnerability first disclosed
05 Aug 2024, 02:32
Last Modified
Vulnerability information updated

Description

There is a DoS vulnerability in Pillow before 6.2.2 caused by FpxImagePlugin.py calling the range function on an unvalidated 32-bit integer if the number of bands is large. On Windows running 32-bit Python, this results in an OverflowError or MemoryError due to the 2 GB limit. However, on Linux running 64-bit Python this results in the process being terminated by the OOM killer.

CVSS Metrics

  • v4.0HIGHScore: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • v2.0MEDIUMScore: 5AV:N/AC:L/Au:N/C:N/I:N/A:P

EPSS Trends

Current EPSS score: 0.96% Percentile: 77%

Techniques & Countermeasures

  • CWE-190Integer Overflow or Wraparound

    The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Affected Systems

  • canonicalubuntu_linux

    14.04 | 16.04 | 18.04 | 19.10

  • debiandebian_linux

    9.0 | 10.0

  • fedoraprojectfedora

    30

  • PyPIpillow

    < 6.2.2

  • pythonpillow

    < 6.2.2

References (12)