Ubuntu 20.04 LTS / 22.04 LTS : zlib vulnerability (USN-5570-2)

critical Nessus Plugin ID 166179

Synopsis

The remote Ubuntu host is missing a security update.

Description

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

- zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field. NOTE: only applications that call inflateGetHeader are affected. Some common applications bundle the affected zlib source code but may be unable to call inflateGetHeader (e.g., see the nodejs/node reference). (CVE-2022-37434)

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-5570-2

Plugin Details

Severity: Critical

ID: 166179

File Name: ubuntu_USN-5570-2.nasl

Version: 1.5

Type: local

Agent: unix

Published: 10/18/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: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2022-37434

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: cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:lib32z1, p-cpe:/a:canonical:ubuntu_linux:lib32z1-dev, p-cpe:/a:canonical:ubuntu_linux:lib64z1, p-cpe:/a:canonical:ubuntu_linux:lib64z1-dev, p-cpe:/a:canonical:ubuntu_linux:libx32z1, p-cpe:/a:canonical:ubuntu_linux:libx32z1-dev, p-cpe:/a:canonical:ubuntu_linux:zlib1g, p-cpe:/a:canonical:ubuntu_linux:zlib1g-dev

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/17/2022

Vulnerability Publication Date: 8/5/2022

Reference Information

CVE: CVE-2022-37434

USN: 5570-2