1. Accueil
  2. Vulnérabilités
  3. CVE-2022-21668

CVE-2022-21668

pipenv is a Python development workflow tool. Starting with version 2018.10.9 and prior to version 2022.1.8…

Publiée le 10 janv. 2022 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Moyen 62/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Fedoraproject (3 ligne(s))
Fedoraproject
ProduitVersionsCorrigé dansSource
Fedora 34 — NVD
Fedora 35 — NVD
Fedora 36 — NVD
Pypa (1 ligne(s))
Pypa
ProduitVersionsCorrigé dansSource
Pipenv de 2018.10.9 (inclus) à 2022.1.8 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-190 · Corruption mémoire

Comment sont obtenues et calculées ces données