Skip to content

CVE-2022-1440 Command Injection vulnerability in git-interface@2.1.1 in yarkeev/git-interface

CriticalCVSS 9.8 EPSS 3.7%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
git-interface project git-interface < 2.1.2 2.1.2 Fixed
npm git-interface(npm) < 2.1.2 2.1.2 Fixed
yarkeev/git-interface < 2.1.2 2.1.2 Fixed

Affected products

ProductAffected versionsFixed in
npm git-interface(npm) < 2.1.2 2.1.2
yarkeev/git-interface < 2.1.2 2.1.2
git-interface project git-interface < 2.1.2 2.1.2

References