CVE-2019-18182

Name
CVE-2019-18182
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Patch https://git.archlinux.org/pacman.git/commit/?id=808a4f15ce82d2ed7eeb06de73d0f313620558ee
Release Notes https://github.com/alpinelinux/alpine-secdb/blob/master/v3.11/community.yaml
Exploit https://git.archlinux.org/pacman.git/tree/src/pacman/conf.c?h=v5.1.3#n263
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K53C45EDWBU3UCN3IRIGR5EZUNWXS7BW/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:pacman_project:pacman:*:*:*:*:*:*:*:* pacman >= None < 5.2

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
pacman edge-community 5.2.0-r0 None fixed
pacman edge-community 5.1.3-r0 None possibly vulnerable
pacman 3.22-community 5.2.0-r0 None fixed
pacman 3.22-community 5.1.3-r0 None possibly vulnerable
pacman 3.21-community 5.2.0-r0 None fixed
pacman 3.20-community 5.2.0-r0 None fixed
pacman 3.19-community 5.2.0-r0 None fixed
pacman 3.18-community 5.2.0-r0 None fixed
pacman 3.17-community 5.2.0-r0 None fixed