CVE-2024-7042
Last modified
CVE-2024-7042 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. A vulnerability in the GraphCypherQAChain class of langchain-ai/langchainjs versions 0.2.5 and all versions with this class allows for prompt injection, leading to SQL injection. This vulnerability permits unauthorized data manipulation, data exfiltration, denial of service (DoS) by deleting all data, breaches in multi-tenant security environments, and data integrity issues. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
A vulnerability in the GraphCypherQAChain class of langchain-ai/langchainjs versions 0.2.5 and all versions with this class allows for prompt injection, leading to SQL injection. This vulnerability permits unauthorized data manipulation, data exfiltration, denial of service (DoS) by deleting all data, breaches in multi-tenant security environments, and data integrity issues. Attackers can create, update, or delete nodes and relationships without proper authorization, extract sensitive data, disrupt services, access data across different tenants, and compromise the integrity of the database.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Langchain | Langchain | < 0.3.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-7042?
How severe is CVE-2024-7042?
How do I fix CVE-2024-7042?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-7036A vulnerability in open-webui/open-webui v0.3.8 allows an un…7.5
- CVE-2024-7037In version v0.3.8 of open-webui/open-webui, the endpoint /ap…7.2
- CVE-2024-7038Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-7039Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-7040Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-7041An Insecure Direct Object Reference (IDOR) vulnerability exi…6.5
- CVE-2024-7043An improper access control vulnerability in open-webui/open-…8.8
- CVE-2024-7044A Stored Cross-Site Scripting (XSS) vulnerability exists in …8.9
- CVE-2024-7045In version v0.3.8 of open-webui/open-webui, improper access …4.3
- CVE-2024-7046An improper access control vulnerability in open-webui/open-…4.3
- CVE-2024-7047A cross site scripting vulnerability exists in GitLab CE/EE …5.4
- CVE-2024-7048In version v0.3.8 of open-webui, an improper privilege manag…5.4
Are you affected by CVE-2024-7042?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
