VDB
Sign up
CRITICAL9.8

GHSA-9w5j-4mwv-2wj8

Remote code execution in simple-git

Quick fix

GHSA-9w5j-4mwv-2wj8 — simple-git: upgrade to the fixed version with the command below.

npm install simple-git@3.16.0

Details

Versions of the package simple-git before 3.16.0 are vulnerable to Remote Code Execution (RCE) via the clone(), pull(), push() and listRemote() methods, due to improper input sanitization. This vulnerability exists due to an incomplete fix of CVE-2022-25912.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/simple-git
Introduced in: 0Fixed in: 3.16.0
Fixnpm install simple-git@3.16.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:npm/simple-git"]}'