{"id":"GHSA-7r9x-hr76-jr96","aliases":["GHSA-7r9x-hr76-jr96"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in giting","summary":"All versions of `gitting` are vulnerable to Command Injection. The package fails to sanitize input and passes it directly to an `exec` call, which may allow attackers to execute arbitrary code in the system. The `pull` function is vulnerable through the `branch` variable.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"All versions of `gitting` are vulnerable to Command Injection. The package fails to sanitize input and passes it directly to an `exec` call, which may allow attackers to execute arbitrary code in the system. The `pull` function is vulnerable through the `branch` variable.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","format":"markdown","source":"ghsa"}],"published":"2020-09-04T17:26:18.000Z","modified":"2020-08-31T18:59:37.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"giting","purl":"pkg:npm/giting","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1446","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7r9x-hr76-jr96","url":"https://github.com/advisories/GHSA-7r9x-hr76-jr96","licence":"CC-BY-4.0","modified":"2020-08-31T18:59:37.000Z"}],"updatedAt":"2026-11-25T22:56:44.592Z"}