VulnerabilityModified
CVE-2019-18182
pacman before 5.2 is vulnerable to arbitrary command injection in conf.c in the download_with_xfercommand() function.
CRITICAL 9.8EPSS 3.67%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.67%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.67% probability · 89th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- pacman project/pacman · fedoraproject/fedora
- Source
- cve@mitre.org
References
- https://git.archlinux.org/pacman.git/commit/?id=808a4f15ce82d2ed7eeb06de73d0f313620558eePatch, Third Party Advisory
- https://git.archlinux.org/pacman.git/tree/src/pacman/conf.c?h=v5.1.3#n263Exploit, Third Party Advisory
- https://github.com/alpinelinux/alpine-secdb/blob/master/v3.11/community.yamlRelease Notes, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K53C45EDWBU3UCN3IRIGR5EZUNWXS7BW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3/
- https://git.archlinux.org/pacman.git/commit/?id=808a4f15ce82d2ed7eeb06de73d0f313620558eePatch, Third Party Advisory
- https://git.archlinux.org/pacman.git/tree/src/pacman/conf.c?h=v5.1.3#n263Exploit, Third Party Advisory
- https://github.com/alpinelinux/alpine-secdb/blob/master/v3.11/community.yamlRelease Notes, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K53C45EDWBU3UCN3IRIGR5EZUNWXS7BW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3/
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.