p PatchFirst

PatchFirst · Latest vulnerabilities

litellm vulnerabilities · Page 3

Vulnerabilities published for litellm in the last 30 days: 3. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 45

  1. CVE-2024-4888

    Medium · CVSS 6.5EPSS 0.62%Fix available

    Arbitrary File Deletion in BerriAI/litellm

    BerriAI's litellm, in its latest version, is vulnerable to arbitrary file deletion due to improper input validation on the `/audio/transcriptions` endpoint. An attacker can exploit this vulnerability by sending a specially crafted request that includes a file path to the server, which then deletes the specified file without proper authorization or validation. This vulnerability is present in the code where `os.remove(file.filename)` is used to delete a file, allowing any user to delete critical files on the server such as SSH keys, SQLite databases, or configuration files.

    • Update to 1.35.36
    Published Updated
  2. CVE-2024-4890

    Medium · CVSS 4.9EPSS 0.56%No fix published

    Blind SQL Injection in berriai/litellm

    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.

    Published Updated
  3. CVE-2024-5225

    Medium · CVSS 6.4EPSS 0.43%Fix available

    SQL Injection in berriai/litellm

    An SQL Injection vulnerability exists in the berriai/litellm repository, specifically within the `/global/spend/logs` endpoint. The vulnerability arises due to improper neutralization of special elements used in an SQL command. The affected code constructs an SQL query by concatenating an unvalidated `api_key` parameter directly into the query, making it susceptible to SQL Injection if the `api_key` contains malicious data. This issue affects the latest version of the repository. Successful exploitation of this vulnerability could lead to unauthorized access, data manipulation, exposure of confidential information, and denial of service (DoS)

    • Update to 1.40.0
    Published Updated
  4. CVE-2024-4264

    Critical · CVSS 9.8EPSS 0.88%No fix published

    Remote Code Execution in berriai/litellm

    A remote code execution (RCE) vulnerability exists in the berriai/litellm project due to improper control of the generation of code when using the `eval` function unsafely in the `litellm.get_secret()` method. Specifically, when the server utilizes Google KMS, untrusted data is passed to the `eval` function without any sanitization. Attackers can exploit this vulnerability by injecting malicious values into environment variables through the `/config/update` endpoint, which allows for the update of settings in `proxy_server_config.yaml`.

    Published Updated
  5. CVE-2024-2952

    Critical · CVSS 9.8EPSS 1.27%Fix available

    Server-Side Template Injection in BerriAI/litellm

    BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint. The vulnerability arises from the `hf_chat_template` method processing the `chat_template` parameter from the `tokenizer_config.json` file through the Jinja template engine without proper sanitization. Attackers can exploit this by crafting malicious `tokenizer_config.json` files that execute arbitrary code on the server.

    • Update to 1.34.42
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →