Soumettre #850875: Node.js check-peer-dependencies 4.3.4 OS Command Injectioninformation

TitreNode.js check-peer-dependencies 4.3.4 OS Command Injection
Description[email protected] is vulnerable to OS command injection when processing package names from peerDependencies. The package reads dependency names from package.json and later interpolates those names into shell command strings. When --findSolutions is enabled, a malicious dependency name is passed into an npm view <package> versions command. Because the command is executed through shelljs.exec(), shell metacharacters in the dependency name are interpreted by the operating system shell. The same data flow can also affect installation flows: generated npm install / yarn add command strings are later executed through shelljs.exec() when --install is used. The PoC was verified against the current npm latest version 4.3.4.
La source⚠️ https://github.com/christopherthielen/check-peer-dependencies/issues/74
Utilisateur
 Dremig (UID 95003)
Soumission07/06/2026 08:41 (il y a 1 mois)
Modérer08/07/2026 09:36 (1 month later)
StatutAccepté
Entrée VulDB376784 [christopherthielen check-peer-dependencies jusqu’à 4.3.4 peerDependencies dist/packageUtils.js shelljs.exec élévation de privilèges]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!