CVE-2024-48964
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| snyk-gradle-plugin | npm | 4.5.0 |
| snyk-cli | Wolfi | 1.1294.0-r0 |
| snyk-cli | Chainguard | 1.1294.0-r0 |
| snyk_cli | snyk | 1.1294.0 |
| Snyk Cli | Snyk | 1.1294.0 |
| snyk_gradle_plugin | snyk | 4.5.0 |
| Snyk Gradle Plugin | Snyk | 4.5.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Snyk | Snyk Cli | 0 |
| Snyk | Snyk Gradle Plugin | 0 |
| snyk | snyk_cli | 0 |
| wolfi | snyk-cli | 0 |
| npm | snyk-gradle-plugin | 0 |
| Snyk | Snyk Cli | 0 |
| Snyk | Snyk Gradle Plugin | 0 |
| snyk | snyk_gradle_plugin | 0 |
| chainguard | snyk-cli | 0 |
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