CVE-2022-24437

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-24437
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-24437.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-24437
Aliases
Related
  • SNYK-JS-GITPULLORCLONE-2434307
Published
2022-05-01T16:15:08Z
Modified
2025-01-08T14:11:52.713458Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The package git-pull-or-clone before 2.0.2 are vulnerable to Command Injection due to the use of the --upload-pack feature of git which is also supported for git clone. The source includes the use of the secure child process API spawn(). However, the outpath parameter passed to it may be a command-line argument to the git clone command and result in arbitrary command injection.

References

Affected packages

Git / github.com/feross/git-pull-or-clone

Affected ranges

Type
GIT
Repo
https://github.com/feross/git-pull-or-clone
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v1.*

v1.0.0
v1.1.0
v1.2.0
v1.3.0

v2.*

v2.0.0
v2.0.1