FKIE_CVE-2024-4264
Vulnerability from fkie_nvd - Published: 2024-05-18 00:15 - Updated: 2024-11-21 09:42
Severity ?
Summary
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`.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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`."
},
{
"lang": "es",
"value": "Existe una vulnerabilidad de ejecuci\u00f3n remota de c\u00f3digo (RCE) en el proyecto berriai/litellm debido a un control inadecuado de la generaci\u00f3n de c\u00f3digo cuando se utiliza la funci\u00f3n `eval` de forma insegura en el m\u00e9todo `litellm.get_secret()`. Espec\u00edficamente, cuando el servidor utiliza Google KMS, los datos que no son de confianza se pasan a la funci\u00f3n \"eval\" sin ning\u00fan tipo de desinfecci\u00f3n. Los atacantes pueden aprovechar esta vulnerabilidad inyectando valores maliciosos en las variables de entorno a trav\u00e9s del endpoint `/config/update`, que permite la actualizaci\u00f3n de la configuraci\u00f3n en `proxy_server_config.yaml`."
}
],
"id": "CVE-2024-4264",
"lastModified": "2024-11-21T09:42:30.250",
"metrics": {
"cvssMetricV30": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.0"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9,
"source": "security@huntr.dev",
"type": "Secondary"
}
]
},
"published": "2024-05-18T00:15:07.777",
"references": [
{
"source": "security@huntr.dev",
"url": "https://huntr.com/bounties/a3221b0c-6e25-4295-ab0f-042997e8fc61"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://huntr.com/bounties/a3221b0c-6e25-4295-ab0f-042997e8fc61"
}
],
"sourceIdentifier": "security@huntr.dev",
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-94"
}
],
"source": "security@huntr.dev",
"type": "Secondary"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…