CVE-2024-48964: Snyk CLI - Command Injection
- Cve: CVE-2024-48964
- Name: Snyk CLI - Command Injection
- Description: 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.
- Impact: Attackers can execute arbitrary code during scan, potentially leading to system compromise.
- Remediation: Update to version 1.1294.0 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00469
- Epss percentile: 0.41365
- Assignee: [email protected]
- Published at: 2024-10-23T19:15:19Z
- Age in days: 762
- Modified at: 2026-06-17T07:59:08Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-48964
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
| CWE-94 | Improper Control of Generation of Code |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/snyk/snyk-gradle-plugin/commit/2f5ee7579f00660282dd161a0b79690f4a9c865d | nvd | Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| snyk:snyk_cli | < 1.1294.0 | no | nvd | /v1/products/snyk/snyk_cli |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| snyk/snyk-gradle-plugin | commit, fix, package | yes | /v1/repositories/snyk/snyk-gradle-plugin |
Index
- Repositories: 9
- Repositories high signal: 1
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts