ALPINE-CVE-2019-9686

Source
https://security.alpinelinux.org/vuln/CVE-2019-9686
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2019-9686
Upstream
  • CVE-2019-9686
Published
2019-03-11T16:29:00Z
Modified
2026-11-03T06:32:35Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

pacman before 5.1.3 allows directory traversal when installing a remote package via a specified URL "pacman -U " 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.

References

Affected packages

Alpine:v3.11
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.12
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.13
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.14
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.15
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.16
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.17
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.18
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.19
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.20
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.21
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.22
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.23
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"
Alpine:v3.24
pacman

Package

Name
pacman
Purl
pkg:apk/alpine/pacman?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.1.3-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-9686.json"