Search covers the description text, product and vendor names and weakness types (also partial words).
This vulnerability can be exploited with local access to the device, without logging in, if a user clicks a link, opens a file or similar.
A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.
The impact can spread beyond the vulnerable component.
Weakness type: Improper input validation.
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
pipenv is a Python development workflow tool. Starting with version 2018.10.9 and prior to version 2022.1.8, a flaw in pipenv's parsing of requirements files allows an attacker to insert a specially crafted string inside a comment anywhere within a requirements.txt file, which will cause victims who use pipenv to install the requirements file to download dependencies from a package index server controlled by the attacker. By embedding malicious code in packages served from their malicious index server, the attacker can trigger arbitrary remote code execution (RCE) on the victims' systems. If an attacker is able to hide a malicious `--index-url` option in a requirements file that a victim installs with pipenv, the attacker can embed arbitrary malicious code in packages served from their malicious index server that will be executed on the victim's host during installation (remote code execution/RCE). When pip installs from a source distribution, any code in the setup.py is executed by the install process. This issue is patched in version 2022.1.8. The GitHub Security Advisory contains more information about this vulnerability.
Weakness: CWE-20 – Improper input validation, CWE-77 – Command injection, CWE-78 – OS command injection, CWE-427, CWE-791, CWE-190 – Integer overflow, CWE-1284
| Vendor | Product | Versions |
|---|---|---|
| pypa | pipenv | >=2018.10.9 <2022.1.8 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |