GitHub Advisoryadvisory · npm
GHSA-g8vp-6hv4-m67c Command Injection in entitlements
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- entitlements
- Severity
- High
- Weaknesses
- CWE-77
- Reviewed
- 2020-08-31
Affected packages
• npm entitlements: < 1.3.0 → fixed in 1.3.0
Description
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.
Related
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness