Debian dla-3768 : python-pil - security update

critical Nessus Plugin ID 192475

Synopsis

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

Description

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

------------------------------------------------------------------------- Debian LTS Advisory DLA-3768-1 [email protected] https://www.debian.org/lts/security/ Sean Whitton March 22, 2024 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : pillow Version : 5.4.1-2+deb10u5 CVE ID : CVE-2021-23437 CVE-2022-22817 CVE-2023-44271

Multiple vulnerabilities were discovered in the Python Imaging Library (PIL), an image processing library for Python.

CVE-2021-23437

It was discovered that the getrgb function was vulnerable to a regular expression denial-of-service attack.

CVE-2022-22817

A fix for this CVE was announced in DSA-5053-1. It was discovered that this fix was incomplete. This update completes the fix.

CVE-2023-44271

It was discovered that an overlong text length argument passed to an ImageDraw instance could cause uncontrollable memory allocation and denial-of-service.

For Debian 10 buster, these problems have been fixed in version 5.4.1-2+deb10u5.

We recommend that you upgrade your pillow packages.

For the detailed security status of pillow please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/pillow

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS Attachment:
signature.asc Description: PGP signature

Tenable has extracted the preceding description block directly from the Debian security advisory.

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

Solution

Upgrade the python-pil packages.

See Also

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

https://security-tracker.debian.org/tracker/CVE-2021-23437

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

https://security-tracker.debian.org/tracker/CVE-2023-44271

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

Plugin Details

Severity: Critical

ID: 192475

File Name: debian_DLA-3768.nasl

Version: 1.1

Type: local

Agent: unix

Published: 3/22/2024

Updated: 1/22/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2022-22817

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/22/2024

Vulnerability Publication Date: 9/3/2021

Reference Information

CVE: CVE-2021-23437, CVE-2022-22817, CVE-2023-44271