← Back to CVEs
CVE-2022-24437
CRITICAL9.8
Description
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published5/1/2022
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
git-pull-or-clone_project:git-pull-or-clone
Weaknesses (CWE)
CWE-88
References
https://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705e9c6e3108a3(report@snyk.io)
https://snyk.io/vuln/SNYK-JS-GITPULLORCLONE-2434307(report@snyk.io)
https://gist.github.com/lirantal/327e9dd32686991b5a1fa6341aac2e7b(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705e9c6e3108a3(af854a3a-2127-422b-91ae-364da2661108)
https://snyk.io/vuln/SNYK-JS-GITPULLORCLONE-2434307(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.