Description
The package Snyk CLI before 1.1294.0 is vulnerable to Code Injection when scanning an untrusted PHP project. The vulnerability can be triggered if Snyk test is run inside the untrusted project due to the improper handling of the current working directory name. Snyk recommends only scanning trusted projects.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Snyk | Snyk Cli | < 1.1294.0 | 1.1294.0 |
| Snyk | Snyk PHP Plugin | < 1.10.0 | 1.10.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | snyk-cli | 1.1294.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | snyk-php-plugin | < 1.10.0 | 1.10.0 | GHSA-69f9-h8f9-7vjf |