Ubuntu 16.04 ESM : Zstandard vulnerabilities (USN-5720-1)

medium Nessus Plugin ID 167229

Synopsis

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

Description

The remote Ubuntu 16.04 ESM host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-5720-1 advisory.

- In the Zstandard command-line utility prior to v1.4.1, output files were created with default permissions.
Correct file permissions (matching the input) would only be set at completion time. Output files could therefore be readable or writable to unintended parties. (CVE-2021-24031)

- Beginning in v1.4.1 and prior to v1.4.9, due to an incomplete fix for CVE-2021-24031, the Zstandard command-line utility created output files with default permissions and restricted those permissions immediately afterwards. Output files could therefore momentarily be readable or writable to unintended parties. (CVE-2021-24032)

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 libzstd1, libzstd1-dev and / or zstd packages.

See Also

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

Plugin Details

Severity: Medium

ID: 167229

File Name: ubuntu_USN-5720-1.nasl

Version: 1.4

Type: local

Agent: unix

Published: 11/9/2022

Updated: 7/10/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

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

CVSS Score Source: CVE-2021-24031

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:16.04:-:esm, p-cpe:/a:canonical:ubuntu_linux:libzstd1, p-cpe:/a:canonical:ubuntu_linux:libzstd1-dev, p-cpe:/a:canonical:ubuntu_linux:zstd

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: 11/9/2022

Vulnerability Publication Date: 3/4/2021

Reference Information

CVE: CVE-2021-24031, CVE-2021-24032

USN: 5720-1