Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade pnpm to version 10.34.0, 11.4.0 or higher.
pnpm is a Fast, disk space efficient package manager
Affected versions of this package are vulnerable to Arbitrary Argument Injection in the git fetcher at fetching/git-fetcher/src/index.ts, which passes the lockfile's resolution.commit value into git fetch and git checkout without a -- separator or format validation. An attacker can execute arbitrary commands as the user running the install by supplying a pnpm-lock.yaml whose resolution.commit is a git option such as --upload-pack=<command> instead of a 40-character hash. Exploitation requires the victim to install a project carrying the malicious lockfile and the git dependency to resolve over the SSH or local transport, as the HTTPS transport is not affected by --upload-pack injection.
This vulnerability can be avoided by configuring git dependencies to resolve over the HTTPS transport rather than SSH or local-path transports, since the --upload-pack injection has no effect over HTTPS.