snyk-php-plugin@1.5.3 vulnerabilities

Snyk CLI PHP plugin

Direct Vulnerabilities

Known vulnerabilities in the snyk-php-plugin package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Code Injection

snyk-php-plugin is a plugin for the Snyk CLI tool, providing dependency metadata for PHP projects.

Affected versions of this package are 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.

Note:

This is only a plugin to be used with the Snyk CLI tool. Considering that the user has to use Snyk CLI to run Snyk Test on a specific php project, the attack complexity of this vulnerability is High.

How to fix Code Injection?

Upgrade snyk-php-plugin to version 1.10.0 or higher.

<1.10.0