Debian DLA-2893-1 : pillow - LTS security update

critical Nessus Plugin ID 156963

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-2893 advisory.

- path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path. (CVE-2022-22815)

- path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path. (CVE-2022-22816)

- PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. (CVE-2022-22817)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the pillow packages.

For Debian 9 stretch, these problems have been fixed in version 4.0.0-4+deb9u4.

See Also

https://security-tracker.debian.org/tracker/source-package/pillow

https://www.debian.org/lts/security/2022/dla-2893

https://security-tracker.debian.org/tracker/CVE-2022-22815

https://security-tracker.debian.org/tracker/CVE-2022-22816

https://security-tracker.debian.org/tracker/CVE-2022-22817

https://packages.debian.org/source/stretch/pillow

Plugin Details

Severity: Critical

ID: 156963

File Name: debian_DLA-2893.nasl

Version: 1.2

Type: local

Agent: unix

Published: 1/23/2022

Updated: 1/23/2022

Supported Sensors: Frictionless Assessment Agent, Nessus Agent

Risk Information

CVSS Score Source: CVE-2022-22817

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Temporal Vector: E:U/RL:OF/RC:C

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: E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python-imaging, p-cpe:/a:debian:debian_linux:python-pil, p-cpe:/a:debian:debian_linux:python-pil-dbg, p-cpe:/a:debian:debian_linux:python-pil-doc, p-cpe:/a:debian:debian_linux:python-pil.imagetk, p-cpe:/a:debian:debian_linux:python-pil.imagetk-dbg, p-cpe:/a:debian:debian_linux:python3-pil, p-cpe:/a:debian:debian_linux:python3-pil-dbg, p-cpe:/a:debian:debian_linux:python3-pil.imagetk, p-cpe:/a:debian:debian_linux:python3-pil.imagetk-dbg, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 1/23/2022

Vulnerability Publication Date: 1/10/2022

Reference Information

CVE: CVE-2022-22815, CVE-2022-22816, CVE-2022-22817