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

    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 ID SNYK-JAVA-ORGWEBJARSNPM-8309099
  • published 29 Oct 2024
  • disclosed 23 Oct 2024
  • credit Unknown

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
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Active
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None