Skip to content

Command injection in git-clone

High severity GitHub Reviewed Published Jul 2, 2022 to the GitHub Advisory Database • Updated Sep 7, 2023

Package

npm git-clone (npm)

Affected versions

<= 0.2.0

Patched versions

None

Description

All versions of package git-clone are vulnerable to Command Injection due to insecure usage of the --upload-pack feature of git.

Credits

Credit to @lirantal for discovering this vulnerability.

References

Published by the National Vulnerability Database Jul 1, 2022
Published to the GitHub Advisory Database Jul 2, 2022
Reviewed Jul 6, 2022
Last updated Sep 7, 2023

Severity

High
8.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVE ID

CVE-2022-25900

GHSA ID

GHSA-8jmw-wjr8-2x66

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.