snyk-gradle-plugin@4.3.0 vulnerabilities

Snyk CLI Gradle plugin

Direct Vulnerabilities

Known vulnerabilities in the snyk-gradle-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-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.

How to fix Code Injection?

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

<4.5.0