Code Injection Affecting org.webjars.npm:snyk-php-plugin package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (40th percentile)

Do your applications use this vulnerable package?

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 applications

Snyk Learn

Learn about Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-8309099
  • published29 Oct 2024
  • disclosed23 Oct 2024
  • creditUnknown

Introduced: 23 Oct 2024

CVE-2024-48963  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

org.webjars.npm: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.

CVSS Scores

version 4.0
version 3.1