Ubuntu 18.04 LTS / 20.04 LTS : Pillow vulnerability (USN-5227-3)

critical Nessus Plugin ID 166448

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 18.04 LTS / 20.04 LTS host has packages installed that are affected by a vulnerability as referenced in the USN-5227-3 advisory.

USN-5227-1 fixed vulnerabilities in Pillow. It was discovered that the fix for CVE-2022-22817 was incomplete. This update fixes the problem.

Original advisory details:

It was discovered that Pillow incorrectly handled certain image files. If a

user or automated system were tricked into opening a specially-crafted

file, a remote attacker could cause Pillow to hang, resulting in a denial

of service. (CVE-2021-23437)

It was discovered that Pillow incorrectly handled certain image files. If a

user or automated system were tricked into opening a specially-crafted

file, a remote attacker could cause Pillow to crash, resulting in a denial

of service. This issue ony affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and

Ubuntu 21.04. (CVE-2021-34552)

It was discovered that Pillow incorrectly handled certain image files. If a

user or automated system were tricked into opening a specially-crafted

file, a remote attacker could cause Pillow to crash, resulting in a denial

of service, or possibly execute arbitrary code. (CVE-2022-22815)

It was discovered that Pillow incorrectly handled certain image files. If a

user or automated system were tricked into opening a specially-crafted

file, a remote attacker could cause Pillow to crash, resulting in a denial

of service. (CVE-2022-22816)

It was discovered that Pillow incorrectly handled certain image files. If a

user or automated system were tricked into opening a specially-crafted

file, a remote attacker could cause Pillow to crash, resulting in a denial

of service, or possibly execute arbitrary code. (CVE-2022-22817)

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

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

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-5227-3

Plugin Details

Severity: Critical

ID: 166448

File Name: ubuntu_USN-5227-3.nasl

Version: 1.6

Type: local

Agent: unix

Published: 10/25/2022

Updated: 8/28/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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:canonical:ubuntu_linux:python3-pil.imagetk, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:python3-pil, p-cpe:/a:canonical:ubuntu_linux:python-pil, p-cpe:/a:canonical:ubuntu_linux:python-pil.imagetk

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/24/2022

Vulnerability Publication Date: 1/10/2022

Reference Information

CVE: CVE-2022-22817

USN: 5227-3