Alpine: multiple py3-pillow packages: security update to 6.2.2-r0

critical Tenable Self-Hosted Container Security Plugin ID 406684

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- 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. (CVE-2019-19911)

- libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
(CVE-2020-5310)

- libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI buffer overflow. (CVE-2020-5311)

- libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow. (CVE-2020-5312)

- libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow. (CVE-2020-5313)

See Also

https://security.alpinelinux.org/vuln/CVE-2019-19911

https://security.alpinelinux.org/vuln/CVE-2020-5310

https://security.alpinelinux.org/vuln/CVE-2020-5311

https://security.alpinelinux.org/vuln/CVE-2020-5312

https://security.alpinelinux.org/vuln/CVE-2020-5313

Plugin Details

Severity: Critical

ID: 406684

Version: Revision 1.28

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2020-5312

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 1/3/2020

Reference Information

CVE: CVE-2019-19911, CVE-2020-5310, CVE-2020-5311, CVE-2020-5312, CVE-2020-5313