CVE-2024-6331: Injection by Prompt Injection in stitionai/devika

Published Aug 4, 2024
·
Updated

stitionai/devika main branch as of commit cdfb782b0e634b773b10963c8034dc9207ba1f9f is vulnerable to Local File Read (LFI) by Prompt Injection. The integration of Google Gimini 1.0 Pro with HarmBlockThreshold.BLOCKNONE for HarmCategory.HARMCATEGORYHATESPEECH and HarmCategory.HARMCATEGORYHARASSMENT in safetysettings disables content protection. This allows malicious commands to be executed, such as reading sensitive file contents like /etc/passwd.

Affected Software

1 affected component
stitionai devika>=2024-05-02

Event History

Aug 4, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-6331?

CVE-2024-6331 has a severity rating that indicates a significant risk due to its potential for Local File Read (LFI) vulnerabilities.

2

How do I fix CVE-2024-6331?

To fix CVE-2024-6331, ensure you update StitionAI Devika to a version released after May 2, 2024, that addresses the vulnerability.

3

What systems are affected by CVE-2024-6331?

CVE-2024-6331 affects StitionAI Devika versions from May 2, 2024, onward, particularly those utilizing Google Gimini 1.0 Pro with specific settings.

4

What type of vulnerability is CVE-2024-6331?

CVE-2024-6331 is classified as a Local File Read (LFI) vulnerability that can be exploited through prompt injection.

5

Can CVE-2024-6331 be exploited remotely?

Yes, CVE-2024-6331 can be exploited remotely if the vulnerable version of StitionAI Devika is accessible over the internet.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203