CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2018-20225

High
Published: Translated: NVD NIST

Summary

W pip (wszystkie wersje) odkryto problem, który polega na instalacji wersji z najwyższym numerem, nawet jeśli użytkownik zamierzał uzyskać prywatny pakiet z prywatnego indeksu. Problem ten dotyczy tylko użycia opcji --extra-index-url.

Risk Assessment

Ryzyko dla organizacji polega na tym, że atakujący może umieścić pakiet w publicznym indeksie z dowolnym numerem wersji, co może prowadzić do nieautoryzowanej instalacji złośliwego oprogramowania.

Recommendation

Zaleca się ostrożne korzystanie z opcji --extra-index-url oraz weryfikację źródeł pakietów, aby uniknąć potencjalnych zagrożeń.

Related vulnerabilities

Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS