# GHSA-g8vp-6hv4-m67c: Command Injection in entitlements

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-11T21:23:29.000Z
- Modified: 2020-08-31T18:43:32.000Z
- Weaknesses: CWE-77

## 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.

(As written by GitHub Advisory Database.)

## Affected

- entitlements (npm): before 1.3.0

## References

- <https://hackerone.com/reports/341869> (web)
- <https://www.npmjs.com/advisories/998> (web)

## Sources

- GitHub Advisory Database: [GHSA-g8vp-6hv4-m67c](https://github.com/advisories/GHSA-g8vp-6hv4-m67c), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-g8vp-6hv4-m67c · Whole record: https://cve.day/GHSA-g8vp-6hv4-m67c.json · Rebuilt by cve.day 2026-11-25T22:56:45.403Z
