Alpine: libarchive: security update to 3.5.3-r0

high Tenable Self-Hosted Container Security Plugin ID 405125

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- An improper link resolution flaw can occur while extracting an archive leading to changing modes, times,
access control lists, and flags of a file outside of the archive. An attacker may provide a malicious
archive to a victim user, who would trigger this flaw when trying to extract the archive. A local attacker
may use this flaw to gain more privileges in a system. (CVE-2021-31566)

- libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and
process_block). (CVE-2021-36976)

See Also

https://security.alpinelinux.org/vuln/CVE-2021-31566

https://security.alpinelinux.org/vuln/CVE-2021-36976

Plugin Details

Severity: High

ID: 405125

Version: Revision 1.27

Type: Local

Published: 10/31/2023

Updated: 3/12/2025

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2021-36976

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

CVSS Score Source: CVE-2021-31566

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 7/20/2021

Reference Information

CVE: CVE-2021-31566, CVE-2021-36976