PT-2024-37119 · Google · Google Kms
Published
2024-06-27
·
Updated
2024-09-20
·
CVE-2024-5751
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
BerriAI/litellm version v1.35.8
Description:
The issue allows an attacker to achieve remote code execution. It 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.Recommendations:
For version v1.35.8, consider disabling the
add deployment function and restrict access to the "/config/update" endpoint until a patch is available. Additionally, review the usage of Google KMS and database storage for models to minimize the risk of exploitation.Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Google Kms