CVE-2024-5548CWE-22

Directory Traversal in stitionai/devika

High · published June 27, 2024

CVSS v3.0
7.5
EPSS
1%
Percentile
63.1
In the wild
Unconfirmed
What it is

A directory traversal vulnerability exists in the stitionai/devika repository, specifically within the /api/download-project endpoint. Attackers can exploit this vulnerability by manipulating the 'project_name' parameter in a GET request to download arbitrary files from the system. This issue affects the latest version of the repository. The vulnerability arises due to insufficient input validation in the 'download_project' function, allowing attackers to traverse the directory structure and access files outside the intended directory. This could lead to unauthorized access to sensitive files on the server.

The record
Technical detail
CVSS v3.0
7.5 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.01021 · 63.1th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-06-27T17:33Z
EPSS history
Timeline
  • 27 JUN 17:33Z
    Directory Traversal in stitionai/devika
    cvelistv5