Skip to content
HighVulnerabilityLLM-specific

CVE-2024-6331: stitionai/devika local file read through prompt injection

Identifier
CVE-2024-6331
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

CVE-2024-6331 affects the stitionai/devika main branch as of commit cdfb782b0e634b773b10963c8034dc9207ba1f9f. The integration of Google Gemini 1.0 Pro sets HarmBlockThreshold.BLOCK_NONE for HARM_CATEGORY_HATE_SPEECH and HARM_CATEGORY_HARASSMENT in safety_settings, which disables content protection. This allows prompt injection to read local files such as /etc/passwd.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.