Advisory

GHSA-qffw-8wg7-h665

Also known as: CVE-2022-1440

Summary

Command injection in git-interface

Details

A command injection vulnerability exists in git-interface in the GitHub repository yarkeev/git-interface prior to 2.1.2. If both the git remote and destination directory are provided by user input, then the use of an --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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-04-23 00:03 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

git-interface

npm · All systems

Affected

  • introduced 0, fixed 2.1.2 (semver)

Fixed versions

2.1.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences