Ubuntu 18.04 LTS / 20.04 LTS : libzstd vulnerabilities (USN-4760-1)

medium Nessus Plugin ID 148007

Synopsis

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

Description

The remote Ubuntu 18.04 LTS / 20.04 LTS / 20.10 host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-4760-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 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-4760-1

Plugin Details

Severity: Medium

ID: 148007

File Name: ubuntu_USN-4760-1.nasl

Version: 1.5

Type: local

Agent: unix

Published: 3/23/2021

Updated: 10/20/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:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libzstd-dev, p-cpe:/a:canonical:ubuntu_linux:libzstd1, p-cpe:/a:canonical:ubuntu_linux:libzstd1-dev, p-cpe:/a:canonical:ubuntu_linux:libzstd1-udeb, 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: 3/8/2021

Vulnerability Publication Date: 3/4/2021

Reference Information

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

USN: 4760-1