Ubuntu 16.04 ESM / 18.04 LTS / 20.04 LTS / 22.04 LTS : unzip vulnerabilities (USN-5673-1)

medium Nessus Plugin ID 166103

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 16.04 ESM / 18.04 LTS / 20.04 LTS / 22.04 LTS host has a package installed that is affected by multiple vulnerabilities as referenced in the USN-5673-1 advisory.

- A flaw was found in unzip. The vulnerability occurs due to improper handling of Unicode strings, which can lead to a null pointer dereference. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution. (CVE-2021-4217)

- A flaw was found in Unzip. The vulnerability occurs during the conversion of a wide string to a local string that leads to a heap of out-of-bound write. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution. (CVE-2022-0529, CVE-2022-0530)

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

Solution

Update the affected unzip package.

See Also

https://ubuntu.com/security/notices/USN-5673-1

Plugin Details

Severity: Medium

ID: 166103

File Name: ubuntu_USN-5673-1.nasl

Version: 1.5

Type: local

Agent: unix

Published: 10/13/2022

Updated: 7/10/2023

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2022-0530

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:16.04:-:esm, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:unzip

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/13/2022

Vulnerability Publication Date: 2/9/2022

Reference Information

CVE: CVE-2021-4217, CVE-2022-0529, CVE-2022-0530

USN: 5673-1