UnratednpmAmendedPublished
Command Injection in entitlements
GHSA-g8vp-6hv4-m67c
- Affected
- npm entitlements < 1.3.0
- Fixed in
- 1.3.0· Vendor fix available
- Issue
- Versions of entitlements prior to 1.3.0 are vulnerable to Command Injection. The package does not validate input on the entitlements function and concatenates it to an exec call, allowing attackers to run arbitrary commands in the system. Recommendation Upgrade to version 1.3.0 or later.
Recommended action: Upgrade to 1.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.