Linux Distros Unpatched Vulnerability : CVE-2018-20225

high Nessus Plugin ID 222052

Synopsis

The Linux/Unix host has one or more packages installed with a vulnerability that the vendor indicates will not be patched.

Description

The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied patch available.

- An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index. This only affects use of the --extra-index-url option, and exploitation requires that the package does not already exist in the public index (and thus the attacker can put the package there with an arbitrary version number). NOTE:
it has been reported that this is intended functionality and the user is responsible for using --extra- index-url securely (CVE-2018-20225)

Note that Nessus relies on the presence of the package as reported by the vendor.

Solution

There is no known solution at this time.

See Also

https://access.redhat.com/security/cve/cve-2018-20225

https://security-tracker.debian.org/tracker/CVE-2018-20225

https://ubuntu.com/security/CVE-2018-20225

Plugin Details

Severity: High

ID: 222052

File Name: unpatched_CVE_2018_20225.nasl

Version: 1.2

Type: local

Agent: unix

Family: Misc.

Published: 3/4/2025

Updated: 8/19/2025

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2018-20225

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:centos:centos:python-pip, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:redhat:enterprise_linux:python3-pip-wheel, cpe:/o:debian:debian_linux:12.0, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:centos:centos:8, p-cpe:/a:redhat:enterprise_linux:python-pip, cpe:/o:redhat:enterprise_linux:8, cpe:/o:debian:debian_linux:13.0, cpe:/o:canonical:ubuntu_linux:14.04:-:lts, p-cpe:/a:debian:debian_linux:python-pip, p-cpe:/a:centos:centos:python3-pip-wheel, p-cpe:/a:centos:centos:python3-pip, p-cpe:/a:redhat:enterprise_linux:python3-pip, p-cpe:/a:redhat:enterprise_linux:platform-python-pip, cpe:/o:centos:centos:7, p-cpe:/a:centos:centos:platform-python-pip, cpe:/o:canonical:ubuntu_linux:16.04:-:lts, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:canonical:ubuntu_linux:python-pip

Required KB Items: Host/OS/identifier, Host/cpu, Host/local_checks_enabled, global_settings/vendor_unpatched

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 5/8/2020

Reference Information

CVE: CVE-2018-20225