{"id":"GHSA-7r9x-hr76-jr96","aliases":[],"status":"published","title":"Command Injection in giting","description":"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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77"],"published":"2020-09-04T17:26:18Z","modified":"2023-01-09T05:04:12Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"giting","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"giting","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/1446","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7r9x-hr76-jr96"}],"sources":{"ghsa":[{"id":"GHSA-7r9x-hr76-jr96","title":"Command Injection in giting","description":"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.","status":"published","published":"2020-09-04T17:26:18Z","modified":"2023-01-09T05:04:12Z","cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:08.863482Z"}],"osv":[{"id":"GHSA-7r9x-hr76-jr96","title":"Command Injection in giting","description":"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.","status":"published","published":"2020-09-04T17:26:18Z","modified":"2020-08-31T18:59:37Z","cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:41.349637Z"}]}}
