{ "id": "CVE-2024-4264", "sourceIdentifier": "security@huntr.dev", "published": "2024-05-18T00:15:07.777", "lastModified": "2024-05-20T13:00:34.807", "vulnStatus": "Awaiting Analysis", "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`." } ], "metrics": { "cvssMetricV30": [ { "source": "security@huntr.dev", "type": "Secondary", "cvssData": { "version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } ] }, "weaknesses": [ { "source": "security@huntr.dev", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-94" } ] } ], "references": [ { "url": "https://huntr.com/bounties/a3221b0c-6e25-4295-ab0f-042997e8fc61", "source": "security@huntr.dev" } ] }