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
Published Mar 11, 2019
8.8
HIGHCVSS 3.1
EPSS 3.38%
Description
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.
Affected products
No data.
- < 5.1.3
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.38% (0.03380) | 88.38th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.36% (0.03365) | 87.13th | v5 (v2026.06.15) |
| Nov 21, 2025 | 0.52% (0.00515) | 65.75th | v4 (v2025.03.14) |
| Nov 18, 2025 | 1.66% (0.01658) | 80.54th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.56% (0.00555) | 66.14th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.27% (0.00274) | 68.88th | v3 (v2023.03.01) |
| Mar 4, 2024 | 0.26% (0.00263) | 65.27th | v3 (v2023.03.01) |
| Jan 31, 2024 | 0.22% (0.00219) | 59.95th | v3 (v2023.03.01) |
| Oct 25, 2023 | 0.27% (0.00271) | 64.23th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.22% (0.00221) | 58.48th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.51% (0.02509) | 81.86th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.51% (0.02509) | 80.08th | v2 (v2022.01.01) |
| Feb 4, 2022 | 18.52% (0.18516) | 93.58th | v2 (v2022.01.01) |
| Feb 3, 2022 | 6.22% (0.06225) | 82.33th | v1 |
| Jan 6, 2022 | 6.22% (0.06225) | 82.16th | v1 |
| Sep 1, 2021 | 1.46% (0.01458) | 72.29th | v1 |
| Apr 14, 2021 | 1.46% (0.01458) | 0.00th | v1 |
References (3)
- https://git.archlinux.org/pacman.git/commit/?h=release/5.1.x&id=1bf767234363f7ad5933af3f7ce267c123017bde x_refsource_MISCMailing ListThird Party Advisory
- https://git.archlinux.org/pacman.git/commit/?id=9702703633bec2c007730006de2aeec8587dfc84 x_refsource_MISCMailing ListPatchThird Party Advisory
- https://git.archlinux.org/pacman.git/commit/?id=d197d8ab82cf10650487518fb968067897a12775 x_refsource_MISCMailing ListPatchThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://git.archlinux.org/pacman.git/commit/?h=release/5.1.x&id=1bf767234363f7ad5933af3f7ce267c123017bde | x_refsource_MISCMailing ListThird Party Advisory | |
| https://git.archlinux.org/pacman.git/commit/?id=9702703633bec2c007730006de2aeec8587dfc84 | x_refsource_MISCMailing ListPatchThird Party Advisory | |
| https://git.archlinux.org/pacman.git/commit/?id=d197d8ab82cf10650487518fb968067897a12775 | x_refsource_MISCMailing ListPatchThird Party Advisory |
Change history (0)
No recorded changes yet.