CVE-2024-5752: Path Traversal in stitionai/devika
A path traversal vulnerability exists in stitionai/devika, specifically in the project creation functionality. In the affected version beacf6edaa205a5a5370525407a6db45137873b3, the project name is not validated, allowing an attacker to create a project with a crafted name that traverses directories. This can lead to arbitrary file overwrite when the application generates code and saves it to the specified project directory, potentially resulting in remote code execution.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-5752?
CVE-2024-5752 is classified as a medium severity vulnerability due to the potential for exploitation through path traversal.
How do I fix CVE-2024-5752?
To fix CVE-2024-5752, ensure that project names are properly validated and sanitized during the creation process.
What are the potential impacts of CVE-2024-5752?
The potential impacts of CVE-2024-5752 include unauthorized access to files and directories on the server.
Which versions of stitionai/devika are affected by CVE-2024-5752?
CVE-2024-5752 affects the stitionai/devika version beacf6edaa205a5a5370525407a6db45137873b3.
How can I identify if my system is vulnerable to CVE-2024-5752?
To identify if your system is vulnerable to CVE-2024-5752, check if you are running the affected version of stitionai/devika and verify the project creation functionality.