CVE-2022-1440
CRITICAL 9.8CVSS 3.1Command injection in git-interface
Command Injection vulnerability in git-interface@2.1.1 in GitHub repository yarkeev/git-interface prior to 2.1.2. If both are provided by user input, then the use of a --upload-pack command-line argument feature of git is also supported for git clone, which would then allow for any operating system command to be spawned by the attacker.
- Published
- 22 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-78CWE-88
- Also known as
- GHSA-qffw-8wg7-h665
- Sources
- NVDJSONOSV GHSA-qffw-8wg7-h665JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | git-interface_project | git-interfacecpe:2.3:a:git-interface_project:git-interface:*:*:*:*:*:node.js:*:* |
< 2.1.2 | 2.1.2 |
| OSV | npm | git-interface | < 2.1.2 | 2.1.2 |
References
- https://github.com/yarkeev/git-interface/commit/f828aa790016fee3aa667f7b44cf94bf0aa8c60d · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/cdc25408-d3c1-4a9d-bb45-33b12a715ca1 · Exploit, Mitigation, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-1440 · ADVISORY
- https://github.com/yarkeev/git-interface · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 22 Apr 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Apr 2022)