{"id":"GHSA-g8vp-6hv4-m67c","aliases":["GHSA-g8vp-6hv4-m67c"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in entitlements","summary":"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.\n\n\n## Recommendation\n\nUpgrade to version 1.3.0 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\n\n## Recommendation\n\nUpgrade to version 1.3.0 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-11T21:23:29.000Z","modified":"2020-08-31T18:43:32.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.0"}],"ecosystem":"npm","package":"entitlements","purl":"pkg:npm/entitlements","source":"ghsa"}],"references":[{"url":"https://hackerone.com/reports/341869","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/998","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g8vp-6hv4-m67c","url":"https://github.com/advisories/GHSA-g8vp-6hv4-m67c","licence":"CC-BY-4.0","modified":"2020-08-31T18:43:32.000Z"}],"updatedAt":"2026-11-25T22:56:45.403Z"}