Advisory

GHSA-426h-24vj-qwxf

Also known as: CVE-2020-7614

Summary

Command Injection in npm-programmatic

Details

All versions of npm-programmatic are vulnerable to Command Injection. The package fails to sanitize input rules and passes it directly to an exec call on the install, uninstall and list functions . This may allow attackers to execute arbitrary code in the system if the package name passed to the function is user-controlled.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-04-23 20:09 UTC
Modified
2026-03-13 22:11 UTC

Affected packages and fixes

npm-programmatic

npm · All systems

Affected

  • introduced 0, last affected 0.0.12 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences