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 vulnerability, the user must enable the non-default delta feature and retrieve an attacker-controlled crafted database and delta file.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.24 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.23 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.22 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.21 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.20 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.19 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.18 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.17 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.16 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.15 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.14 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.13 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.12 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
| Alpine Linux 3.11 | pacman | Fixed | 5.2.0-r0 | ALPINE-CVE-2019-18183 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://git.archlinux.org/pacman.git/tree/lib/libalpm/sync.c?h=v5.1.3#n767
- https://git.archlinux.org/pacman.git/commit/?id=c0e9be7973be6c81b22fde91516fb8991e7bb07b
- https://github.com/alpinelinux/alpine-secdb/blob/master/v3.11/community.yaml
- 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/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.