Code Injection Affecting snyk-gradle-plugin package, versions <4.5.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th 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-JS-SNYKGRADLEPLUGIN-8248487
  • published 24 Oct 2024
  • disclosed 23 Oct 2024
  • credit Unknown

How to fix?

Upgrade snyk-gradle-plugin to version 4.5.0 or higher.

Overview

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

Affected versions of this package are vulnerable to Code Injection when scanning an untrusted Gradle 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 gradle 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