9.3 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:M/Au:N/C:C/I:C/A:C
8.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
8.9 High
AI Score
Confidence
High
0.003 Low
EPSS
Percentile
66.2%
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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Alpine | edge-community | noarch | pacman | < 5.1.3-r0 | UNKNOWN |
Alpine | 3.11-community | noarch | pacman | < 5.1.3-r0 | UNKNOWN |
Alpine | 3.12-community | noarch | pacman | < 5.1.3-r0 | UNKNOWN |
Alpine | 3.13-community | noarch | pacman | < 5.1.3-r0 | UNKNOWN |
Alpine | 3.14-community | noarch | pacman | < 5.1.3-r0 | UNKNOWN |
Alpine | 3.15-community | noarch | pacman | < 5.1.3-r0 | UNKNOWN |
Alpine | 3.16-community | noarch | pacman | < 5.1.3-r0 | UNKNOWN |
Alpine | 3.17-community | noarch | pacman | < 5.1.3-r0 | UNKNOWN |
Alpine | 3.18-community | noarch | pacman | < 5.1.3-r0 | UNKNOWN |
Alpine | 3.19-community | noarch | pacman | < 5.1.3-r0 | UNKNOWN |
9.3 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:M/Au:N/C:C/I:C/A:C
8.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
8.9 High
AI Score
Confidence
High
0.003 Low
EPSS
Percentile
66.2%