Vulnerability · Published Apr 22, 2022 · Assigned by @huntrdev
CVE-2022-1440Command Injection vulnerability in git-interface@2.1.1 in yarkeev/git-interface
Critical 9.8
In plain English
A critical-severity OS command injection in yarkeev/git-interface from yarkeev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.7% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | git-interface | 2.1.2 | GHSA-qffw-8wg7-h665 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| yarkeev | yarkeev/git-interface | unspecified – before 2.1.2 |
Weakness: CWE-78 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H