VDB
Sign up
HIGH7.5

GHSA-69f9-h8f9-7vjf

OS Command Injection in Snyk php plugin

Quick fix

GHSA-69f9-h8f9-7vjf — snyk-php-plugin: upgrade to the fixed version with the command below.

npm install snyk-php-plugin@1.10.0

Details

The Snyk php plugin 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/snyk-php-plugin
Introduced in: 0Fixed in: 1.10.0
Fixnpm install snyk-php-plugin@1.10.0

References