CVE-2024-48964: OS Command Injection
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.
Other sources
The Snyk gradle plugin 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.
— GitHub
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-48964?
CVE-2024-48964 has been classified as a code injection vulnerability that can have significant security implications.
How do I fix CVE-2024-48964?
To fix CVE-2024-48964, update the Snyk CLI to versions greater than 1.1294.0.
What software is affected by CVE-2024-48964?
CVE-2024-48964 affects Snyk CLI versions up to 1.1294.0 and the snyk-gradle-plugin versions below 4.5.0.
What is the exploit condition for CVE-2024-48964?
CVE-2024-48964 can be exploited when Snyk test is run inside an untrusted Gradle project.
Is it safe to use Snyk CLI prior to version 1.1294.0?
Using Snyk CLI prior to version 1.1294.0 is not safe, especially when scanning untrusted projects.