← Back to CVE List
Vulnerability Intelligence Report
Remote Code Execution in berriai/litellm

CVE-2024-4264

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`.

No Active Exploit Signals
CVSS Base Score
9.8
CRITICAL
Exploitability:3.9
Impact Score:5.9
EPSS Probability:0.88%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—

Weaknesses (CWE)

CWE-94 ↗CWE-94 Improper Control of Generation of Code

Affected Products & Versions

Vendor Product Affected Versions
berriai berriai/litellm unspecified <= latest (affected)

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

EPSS Score
0.876%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityProtect AI (formerly huntr.dev) · Bug Bounty Provider · USA
Reserved2024-04-26T17:24:03
Published2024-05-18T00:00:15
Last Updated2024-09-03T19:16:28

LINK COPIED TO CLIPBOARD