CVE-2019-18183 pacman before 5.2 is vulnerable to arbitrary command injection in lib/libalpm/sync.c in the apply_deltas() function. This can be exploited when unsigned databases are used. To exploit the vulnerabilit...
CriticalCVSS 9.8
EPSS 3.7%
- Published
- Updated
- Exploit status
- No public exploit known
Description
pacman before 5.2 is vulnerable to arbitrary command injection in lib/libalpm/sync.c in the apply_deltas() function. This can be exploited when unsigned databases are used. To exploit the vulnerability, the user must enable the non-default delta feature and retrieve an attacker-controlled crafted database and delta file.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pacman project pacman | < 5.2 | 5.2 |
| fedoraproject fedora | = 30 | No fix listed |
| fedoraproject fedora | = 31 | No fix listed |
| fedoraproject fedora | = 32 | No fix listed |
| alpine/pacman(Alpine:v3.11) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.12) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.13) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.14) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.15) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.16) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.17) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.18) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.19) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.20) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.21) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.22) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.23) | < 5.2.0-r0 | 5.2.0-r0 |
| alpine/pacman(Alpine:v3.24) | < 5.2.0-r0 | 5.2.0-r0 |
References
- git.archlinux.org patch third-party-advisory
- git.archlinux.org exploit third-party-advisory
- github.com release-notes third-party-advisory
- FEDORA-2020-781d0b2efe vendor-advisory
- FEDORA-2020-096fbcc91f vendor-advisory
- FEDORA-2020-419a75aef6 vendor-advisory
- security.alpinelinux.org vendor-advisory