VDB

CVE-2024-48964

CVE-2024-48964 PUBLISHED CVSS 7.5 HIGH

OS Command Injection in Snyk gradle plugin

Reported by snyk · Published October 23, 2024

snyk-gradle-plugin is fixed in 4.5.0 (npm)

The package Snyk CLI before 1.1294.0 is 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
snyk-gradle-pluginnpm4.5.0
snyk-cliWolfi1.1294.0-r0
snyk-cliChainguard1.1294.0-r0
snyk_clisnyk1.1294.0
Snyk CliSnyk1.1294.0
snyk_gradle_pluginsnyk4.5.0
Snyk Gradle PluginSnyk4.5.0

Risk scores

CVSS 4.0
7.5
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
SnykSnyk Cli0
SnykSnyk Gradle Plugin0
snyksnyk_cli0
wolfisnyk-cli0
npmsnyk-gradle-plugin0
SnykSnyk Cli0
SnykSnyk Gradle Plugin0
snyksnyk_gradle_plugin0
chainguardsnyk-cli0

Timeline

  • Oct 23, 2024 CVE Published
  • Oct 23, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Oct 23, 2024 PoC Published
  • Oct 24, 2024 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2026 Security Advisory
  • Jun 17, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-48964
vulnetix vdb fixes CVE-2024-48964

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-48964/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›