{"id":"CVE-2024-5548","published":"2024-06-27T17:33:37Z","modified":"2024-08-01T21:18:06Z","title":"Directory Traversal in stitionai/devika","vendor":"stitionai","product":"stitionai/devika","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01021,"percentile":0.64253,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://huntr.com/bounties/ad7dd135-8839-4042-87c0-105af61d262c","tags":[]},{"url":"https://github.com/stitionai/devika/commit/6acce21fb08c3d1123ef05df6a33912bf0ee77c2","tags":[]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":12.85},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"stitionai","affectedVersions":[{"vendor":"stitionai","product":"stitionai/devika","versions":[">= unspecified, < -"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-07-05T12:40:35.686592Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-46748","exploited":false,"provenance":"source"}}