CodexGuild Knowledge Base
SQL injection in litellm
Canonical as of Jun 6, 2024
SQL injection in litellm
Medium severity. Affects litellm <= 1.27.14. No patched version yet.
CVE-2024-4890 / GHSA-8j42-pcfm-3467 · severity: medium · CVSS 4.9 · PyPI
Affected
litellm<= 1.27.14 (no fix yet)
Details
A blind SQL injection vulnerability exists in the berriai/litellm application, specifically within the '/team/update' process. The vulnerability arises due to the improper handling of the 'user_id' parameter in the raw SQL query used for deleting users. An attacker can exploit this vulnerability by injecting malicious SQL commands through the 'user_id' parameter, leading to potential unauthorized access to sensitive information such as API keys, user information, and tokens stored in the database. The affected version is 1.27.14.
Source: GHSA-8j42-pcfm-3467 — GitHub Advisory Database (CC-BY-4.0).