CVE-2022-1440 json
Command Injection vulnerability in git-interface@2.1.1 in yarkeev/git-interface
published 4y ago modified 4mo ago also GHSA-qffw-8wg7-h665 , EUVD-2022-1813
- cvss
- 9.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.7%
- EPSS 3.7% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm git-interface 2.1.2
- yarkeev yarkeev/git-interface 2.1.2
Is CVE-2022-1440 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
3.69% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/cdc25408-d3c1-4a9d-bb45-33b12a715ca1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | git-interface | <2.1.2 |
2.1.2 |
Affected products
- yarkeev yarkeev/git-interface
Classification
References
-
github.com
/yarkeev/git-interface/commit/f828aa790016fee3aa667f7b44cf94bf0aa8c60d
web, patch, third-party-advisory
-
huntr.dev
/bounties/cdc25408-d3c1-4a9d-bb45-33b12a715ca1
web, exploit, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-1440
advisory
-
github.com
/yarkeev/git-interface
package
Sources
- CVE List CVE-2022-1440
- GitHub Advisory GHSA-qffw-8wg7-h665
- NVD CVE-2022-1440
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.