Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2024-12909

llama-index-packs-finchat SQL Injection vulnerability
Back to all
CVE

CVE-2024-12909

llama-index-packs-finchat SQL Injection vulnerability

A vulnerability in the FinanceChatLlamaPack of the llama-index-packs-finchat package, versions up to v0.3.0, allows for SQL injection in the runsqlquery function of the database_agent. This vulnerability can be exploited by an attacker to inject arbitrary SQL queries, leading to remote code execution (RCE) through the use of PostgreSQL's large object functionality.

The issue is resolved by no longer officially supporting the package and moving it into the stale_packages branch on the repo, this removing it from documentation etc.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
10
-
3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
C
H
U
10
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Related Resources

No items found.

References

https://nvd.nist.gov/vuln/detail/CVE-2024-12909, https://github.com/run-llama/llamaindex/commit/5d03c175476452db9b8abcdb7d5767dd7b310a75, https://github.com/run-llama/llamaindex, https://github.com/run-llama/llamaindex/tree/stalepackages/llama-index-packs/llama-index-packs-finchat, https://huntr.com/bounties/44e8177f-200a-4ba3-a12c-8bc21e313a3f, https://pypi.org/project/llama-index-packs-finchat, https://github.com/advisories/GHSA-x48g-hm9c-ww42

Severity

10

CVSS Score
0
10

Basic Information

Base CVSS
10
EPSS Probability
0.01311%
EPSS Percentile
0.67499%
Introduced Version
0,0.1.0
Fix Available

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading