OS Command Injection Affecting pacman package, versions <5.2.0-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
3.67% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE313-PACMAN-1069062
  • published4 Feb 2020
  • disclosed24 Feb 2020

Introduced: 4 Feb 2020

CVE-2019-18183  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Alpine:3.13 pacman to version 5.2.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pacman package and not the pacman package as distributed by Alpine. See How to fix? for Alpine:3.13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1