9.8
CRITICAL CVSS 3.1
CVE-2019-18182
Pacman Arbitrary Command Injection
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.

INFO

Published Date :

Feb. 24, 2020, 3:15 p.m.

Last Modified :

Nov. 21, 2024, 4:32 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2019-18182 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Pacman_project pacman
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 CRITICAL [email protected]
Solution
The pacman package is vulnerable to command injection.
  • Update the pacman package.
  • Consider disabling the XferCommand if not required.
Public PoC/Exploit Available at Github

CVE-2019-18182 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-18182.

URL Resource
https://git.archlinux.org/pacman.git/commit/?id=808a4f15ce82d2ed7eeb06de73d0f313620558ee Patch Third Party Advisory
https://git.archlinux.org/pacman.git/tree/src/pacman/conf.c?h=v5.1.3#n263 Exploit Third Party Advisory
https://github.com/alpinelinux/alpine-secdb/blob/master/v3.11/community.yaml Release 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=808a4f15ce82d2ed7eeb06de73d0f313620558ee Patch Third Party Advisory
https://git.archlinux.org/pacman.git/tree/src/pacman/conf.c?h=v5.1.3#n263 Exploit Third Party Advisory
https://github.com/alpinelinux/alpine-secdb/blob/master/v3.11/community.yaml Release 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/
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-18182 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

🔍 Checks installed Arch packages for known vulnerabilities

vulnerabilities arch linux pacman packages audit check

Go Makefile

Updated: 3 years ago
0 stars 0 fork 0 watcher
Born at : Oct. 2, 2019, 1:03 p.m. This repo has been linked 8 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-18182 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-18182 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.archlinux.org/pacman.git/commit/?id=808a4f15ce82d2ed7eeb06de73d0f313620558ee
    Added Reference https://git.archlinux.org/pacman.git/tree/src/pacman/conf.c?h=v5.1.3#n263
    Added Reference https://github.com/alpinelinux/alpine-secdb/blob/master/v3.11/community.yaml
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K53C45EDWBU3UCN3IRIGR5EZUNWXS7BW/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K53C45EDWBU3UCN3IRIGR5EZUNWXS7BW/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/K53C45EDWBU3UCN3IRIGR5EZUNWXS7BW/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3/
  • Modified Analysis by [email protected]

    Dec. 30, 2021

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/K53C45EDWBU3UCN3IRIGR5EZUNWXS7BW/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/K53C45EDWBU3UCN3IRIGR5EZUNWXS7BW/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3/ Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
  • CWE Remap by [email protected]

    Aug. 24, 2020

    Action Type Old Value New Value
    Changed CWE CWE-74 CWE-78
  • CVE Modified by [email protected]

    Apr. 25, 2020

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3/ [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 09, 2020

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/K53C45EDWBU3UCN3IRIGR5EZUNWXS7BW/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 26, 2020

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git.archlinux.org/pacman.git/commit/?id=808a4f15ce82d2ed7eeb06de73d0f313620558ee No Types Assigned https://git.archlinux.org/pacman.git/commit/?id=808a4f15ce82d2ed7eeb06de73d0f313620558ee Patch, Third Party Advisory
    Changed Reference Type https://git.archlinux.org/pacman.git/tree/src/pacman/conf.c?h=v5.1.3#n263 No Types Assigned https://git.archlinux.org/pacman.git/tree/src/pacman/conf.c?h=v5.1.3#n263 Exploit, Third Party Advisory
    Changed Reference Type https://github.com/alpinelinux/alpine-secdb/blob/master/v3.11/community.yaml No Types Assigned https://github.com/alpinelinux/alpine-secdb/blob/master/v3.11/community.yaml Release Notes, Third Party Advisory
    Added CWE NIST CWE-74
    Added CPE Configuration OR *cpe:2.3:a:pacman_project:pacman:*:*:*:*:*:*:*:* versions up to (excluding) 5.2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.8
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

7.87 }} -8.35%

score

0.91519

percentile