{"id":"GHSA-g8vp-6hv4-m67c","summary":"Command Injection in entitlements","details":"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.","modified":"2020-08-31T18:43:32Z","published":"2020-09-11T21:23:29Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:43:32Z","nvd_published_at":null,"cwe_ids":["CWE-77"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://hackerone.com/reports/341869"},{"type":"WEB","url":"https://www.npmjs.com/advisories/998"}],"affected":[{"package":{"name":"entitlements","ecosystem":"npm","purl":"pkg:npm/entitlements"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-g8vp-6hv4-m67c/GHSA-g8vp-6hv4-m67c.json"}}],"schema_version":"1.9.0"}