CVE-2024-5926 Path Traversal in stitionai/devika

Critical 9.1 Published Updated

Attackers can read arbitrary files and cause denial of service via path traversal in the get-project-files functionality of Devika.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5926?

CVE-2024-5926 is a critical path traversal vulnerability in stitionai/devika, published on 30 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A path traversal vulnerability in the get-project-files functionality of stitionai/devika allows attackers to read arbitrary files from the filesystem and cause a Denial of Service (DoS). This issue is present in all versions of the application. The vulnerability arises due to insufficient path sanitization for the 'project-name' parameter, enabling attackers to specify paths that traverse the filesystem. By setting 'project-name' to the root directory, an attacker can cause the application to attempt to read the entire filesystem, leading to a DoS condition.

Weakness: CWE-29

Which versions are affected by CVE-2024-5926?

It affects 1 product.

Products include Stitionai Devika.

How do I fix CVE-2024-5926?

No fix has been published for CVE-2024-5926 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-5926 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5926 exists.

Sources

Also known as GHSA-622m-gm3h-6w77.

Is CVE-2024-5926 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free