Berriai vulnerabilities, page 3
47 vulnerabilities
Known vulnerabilities in Berriai products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 2 products.
PrioritiseCVE-2024-5751berriai · berriai/litellm +2 moreRemote Code Execution in BerriAI/litellmBerriAI/litellm version v1.35.8 contains a vulnerability where an attacker can achieve remote code execution. The vulnerability exists in the `add_deployment` function, which decodes and decrypts environment variables from base64 and assigns them to `os.environ`. An attacker can exploit this by sending a malicious payload to the `/config/update` endpoint, which is then processed and executed by the server when the `get_secret` function is triggered. This requires the server to use Google KMS and a database to store a model.CVSS9.8CriticalEPSS0.88%RoutineCVE-2024-4888berriai · berriai/litellm +2 moreArbitrary File Deletion in BerriAI/litellmBerriAI'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.CVSS8.1HighEPSS0.61%RoutineCVE-2024-4890berriai · berriai/litellm +2 moreBlind SQL Injection in berriai/litellmA 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.CVSS4.9MediumEPSS0.56%RoutineCVE-2024-5225berriai · berriai/litellm +2 moreSQL Injection in berriai/litellmAn 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).CVSS7.2HighEPSS0.43%PrioritiseCVE-2024-4889berriai · berriai/litellm +1 moreCode Injection in berriai/litellmA code injection vulnerability exists in the berriai/litellm application, version 1.34.6, due to the use of unvalidated input in the eval function within the secret management system. This vulnerability requires a valid Google KMS configuration file to be exploitable. Specifically, by setting the `UI_LOGO_PATH` variable to a remote server address in the `get_image` function, an attacker can write a malicious Google KMS configuration file to the `cached_logo.jpg` file. This file can then be used to execute arbitrary code by assigning malicious code to the `SAVE_CONFIG_TO_DB` environment variable, leading to full system control. The vulnerability is contingent upon the use of the Google KMS feature.CVSS7.2HighEPSS0.86%PrioritiseCVE-2024-4264berriai · berriai/litellm +1 moreRemote Code Execution in berriai/litellmA 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`.CVSS9.8CriticalEPSS0.88%PrioritiseCVE-2024-2952berriai · berriai/litellm +2 moreServer-Side Template Injection in BerriAI/litellmBerriAI/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.CVSS9.8CriticalEPSS1.26%