RCE in Pacman Project
CVE-2019-18182
pacman before 5.2 is vulnerable to arbitrary command injection in conf.c in the download_with_xfercommand() function. This can be exploited when unsigned databases are used. To exploit the vulnerability, the user must enable a non-default XferCommand and retrieve an attacker-controlled crafted database and package.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.037, 89.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Pacman Project
- Fedoraproject Fedora — versions 30, 31, 32
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cve-scores, FritzJo/pacheck). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.archlinux.org/pacman.git/tree/src/pacman/conf.c (Exploit, Third Party Advisory)
- git.archlinux.org/pacman.git/commit/ (Patch, Third Party Advisory)
- github.com/alpinelinux/alpine-secdb/blob/master/v3.11/community.yaml (Third Party Advisory, Release Notes)
- FEDORA-2020-096fbcc91f (vendor-advisory)
- FEDORA-2020-781d0b2efe (vendor-advisory)
- FEDORA-2020-419a75aef6 (vendor-advisory)