SUSE SLED15 / SLES15 Security Update : tar (SUSE-SU-2022:1548-1)

high Nessus Plugin ID 160664

Language:

Synopsis

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

Description

The remote SUSE Linux SLED15 / SLED_SAP15 / SLES15 / SLES_SAP15 host has packages installed that are affected by multiple vulnerabilities as referenced in the SUSE-SU-2022:1548-1 advisory.

- GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root). (CVE-2018-20482)

- pax_decode_header in sparse.c in GNU Tar before 1.32 had a NULL pointer dereference when parsing certain archives that have malformed extended headers. (CVE-2019-9923)

- A flaw was found in the src/list.c of tar 1.33 and earlier. This flaw allows an attacker who can submit a crafted input file to tar to cause uncontrolled consumption of memory. The highest threat from this vulnerability is to system availability. (CVE-2021-20193)

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 tar, tar-lang and / or tar-rmt packages.

See Also

https://bugzilla.suse.com/1029961

https://bugzilla.suse.com/1120610

https://bugzilla.suse.com/1130496

https://bugzilla.suse.com/1181131

https://www.suse.com/security/cve/CVE-2018-20482

https://www.suse.com/security/cve/CVE-2019-9923

https://www.suse.com/security/cve/CVE-2021-20193

http://www.nessus.org/u?54b686a8

Plugin Details

Severity: High

ID: 160664

File Name: suse_SU-2022-1548-1.nasl

Version: 1.6

Type: local

Agent: unix

Published: 5/6/2022

Updated: 7/14/2023

Supported Sensors: Agentless Assessment, Continuous 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: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2019-9923

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:tar, cpe:/o:novell:suse_linux:15, p-cpe:/a:novell:suse_linux:tar-rmt, p-cpe:/a:novell:suse_linux:tar-lang

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/5/2022

Vulnerability Publication Date: 12/26/2018

Reference Information

CVE: CVE-2018-20482, CVE-2019-9923, CVE-2021-20193

SuSE: SUSE-SU-2022:1548-1