Security mailing lists by PureSourceCode

CVE-2022-24437

CRITICAL 9.8CVSS 3.1

OS Command Injection in git-pull-or-clone

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.

Published
1 May 2022
Last modified
8 Jul 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-77CWE-78CWE-88
Also known as
GHSA-3x62-x456-q2vmSNYK-JS-GITPULLORCLONE-2434307
Sources
NVDJSONOSV GHSA-3x62-x456-q2vmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD git-pull-or-clone_project git-pull-or-clone
cpe:2.3:a:git-pull-or-clone_project:git-pull-or-clone:*:*:*:*:*:node.js:*:*
< 2.0.2 2.0.2
OSV npm git-pull-or-clone < 2.0.2 2.0.2

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 May 2022)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.