{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-5548","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-05-30T19:40:06.214Z","datePublished":"2024-06-27T17:33:37.825Z","dateUpdated":"2024-08-01T21:18:06.404Z"},"containers":{"cna":{"title":"Directory Traversal in stitionai/devika","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-07-12T07:41:19.443Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"stitionai","product":"stitionai/devika","versions":[{"version":"unspecified","lessThan":"-","status":"affected","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/ad7dd135-8839-4042-87c0-105af61d262c"},{"url":"https://github.com/stitionai/devika/commit/6acce21fb08c3d1123ef05df6a33912bf0ee77c2"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","cweId":"CWE-22"}]}],"source":{"advisory":"ad7dd135-8839-4042-87c0-105af61d262c","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"stitionai","product":"devika","cpes":["cpe:2.3:a:stitionai:devika:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"*","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-05T12:40:35.686592Z","id":"CVE-2024-5548","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-07-05T12:40:42.021Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T21:18:06.404Z"},"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/ad7dd135-8839-4042-87c0-105af61d262c","tags":["x_transferred"]},{"url":"https://github.com/stitionai/devika/commit/6acce21fb08c3d1123ef05df6a33912bf0ee77c2","tags":["x_transferred"]}]}]}}