# GHSA-7r9x-hr76-jr96: Command Injection in giting

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-04T17:26:18.000Z
- Modified: 2020-08-31T18:59:37.000Z
- Weaknesses: CWE-77

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


## Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

(As written by GitHub Advisory Database.)

## Affected

- giting (npm): from 0.0.0

## References

- <https://www.npmjs.com/advisories/1446> (web)

## Sources

- GitHub Advisory Database: [GHSA-7r9x-hr76-jr96](https://github.com/advisories/GHSA-7r9x-hr76-jr96), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-7r9x-hr76-jr96 · Whole record: https://cve.day/GHSA-7r9x-hr76-jr96.json · Rebuilt by cve.day 2026-11-25T22:56:44.592Z
