Alpine: multiple pacman packages: security update to 5.1.3-r0

high Tenable Self-Hosted Container Security Plugin ID 406202

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- pacman before 5.1.3 allows directory traversal when installing a remote package via a specified URL
"pacman -U <url>" due to an unsanitized file name received from a Content-Disposition header. pacman
renames the downloaded package file to match the name given in this header. However, pacman did not
sanitize this name, which may contain slashes, before calling rename(). A malicious server (or a network
MitM if downloading over HTTP) can send a Content-Disposition header to make pacman place the file
anywhere in the filesystem, potentially leading to arbitrary root code execution. Notably, this bypasses
pacman's package signature checking. This occurs in curl_download_internal in lib/libalpm/dload.c.
(CVE-2019-9686)

See Also

https://security.alpinelinux.org/vuln/CVE-2019-9686

Plugin Details

Severity: High

ID: 406202

Version: Revision 1.27

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

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

CVSS Score Source: CVE-2019-9686

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 3/11/2019

Reference Information

CVE: CVE-2019-9686