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

CVE-2022-29256

sharp is an application for Node.js image processing. Prior to version 0.30.5, there is a possible…

Publiée le 25 mai 2022 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Faible 36/100

Résumé

sharp is an application for Node.js image processing. Prior to version 0.30.5, there is a possible vulnerability in logic that is run only at `npm install` time when installing versions of `sharp` prior to the latest v0.30.5. If an attacker has the ability to set the value of the `PKG_CONFIG_PATH` environment variable in a build environment then they might be able to use this to inject an arbitrary command at `npm install` time. This is not part of any runtime code, does not affect Windows users at all, and is unlikely to affect anyone that already cares about the security of their build environment. This problem is fixed in version 0.30.5.

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

Produits et versions affectés

Sharp project (1 ligne(s))
Sharp project
ProduitVersionsCorrigé dansSource
Sharp avant 0.30.5 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

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:H/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-78 · Injection de commandes / code

Comment sont obtenues et calculées ces données