Skip to content
OpenAdvisories
Unscored CVE-2019-18182 EUVD-2019-7987GHSA-f94h-gmg7-c6gw

pacman before 5.2 is vulnerable to arbitrary command injection in conf.c in the download_with_xfercommand() function. This can be exploited…

Published Feb 24, 2020 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Alpine v3.24 pacman 5.2.0-r0 —
Alpine v3.23 pacman 5.2.0-r0 —
Alpine v3.22 pacman 5.2.0-r0 —
Alpine v3.21 pacman 5.2.0-r0 —
Alpine v3.20 pacman 5.2.0-r0 —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 pacman 5.2.0-r0 —
Alpine v3.18 pacman 5.2.0-r0 —
Alpine v3.17 pacman 5.2.0-r0 —
Alpine v3.16 pacman 5.2.0-r0 —
Alpine v3.15 pacman 5.2.0-r0 —
Alpine v3.14 pacman 5.2.0-r0 —
Alpine v3.13 pacman 5.2.0-r0 —
Alpine v3.12 pacman 5.2.0-r0 —
Alpine v3.11 pacman 5.2.0-r0 —

References