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.

Severity (CVSS 3.0)9.8Critical
Exploit odds (30 days)3.7%top 10.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmgit-interface2.1.2GHSA-qffw-8wg7-h665

Affected products (as reported)

VendorProductVersions
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

References