SB2019102312 - Multiple vulnerabilities in pacman
Published: October 23, 2019
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) OS Command Injection (CVE-ID: CVE-2019-18182)
CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation within the the download_with_xfercommand() function in src/pacman/conf.c file in pacman. A remote attacker can trick the victim to enable a non-default XferCommand to retrieve an attacker-controlled crafted database and package and execute arbitrary OS commands on the system with privileges of the current user.
2) OS Command Injection (CVE-ID: CVE-2019-18183)
CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation within the the apply_deltas() function in lib/libalpm/sync.c file in pacman. A remote attacker can trick the victim to enable a non-default delta feature, retrieve an attacker-controlled crafted database and package and execute arbitrary OS commands on the system with privileges of the current user.
Remediation
Install update from vendor's website.