| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
| url |
VCID-j1mh-vg1z-suda |
| vulnerability_id |
VCID-j1mh-vg1z-suda |
| summary |
|
| references |
|
| fixed_packages |
| 0 |
| url |
pkg:pypi/litellm@1.27.15 |
| purl |
pkg:pypi/litellm@1.27.15 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-1bck-72ae-wfcm |
|
| 1 |
| vulnerability |
VCID-914t-kdw9-uugv |
|
| 2 |
| vulnerability |
VCID-a5y6-f7xv-43gk |
|
| 3 |
| vulnerability |
VCID-cnnd-frah-5yh5 |
|
| 4 |
| vulnerability |
VCID-cwhb-pzcz-yfeq |
|
| 5 |
| vulnerability |
VCID-d75y-3ax4-sqg9 |
|
| 6 |
| vulnerability |
VCID-ec9c-md1f-m7gx |
|
| 7 |
| vulnerability |
VCID-fvh1-8bnc-hqcz |
|
| 8 |
| vulnerability |
VCID-j6rg-j1zw-hkbx |
|
| 9 |
| vulnerability |
VCID-md8m-rdpu-dbe4 |
|
| 10 |
| vulnerability |
VCID-nst5-3xsy-qbgk |
|
| 11 |
| vulnerability |
VCID-pmft-nzj7-n3ee |
|
| 12 |
| vulnerability |
VCID-r97y-74wy-8fbb |
|
| 13 |
| vulnerability |
VCID-s7qd-qe58-2ucs |
|
| 14 |
| vulnerability |
VCID-w3wh-mjtz-jbdb |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:pypi/litellm@1.27.15 |
|
|
| aliases |
CVE-2024-4890, GHSA-8j42-pcfm-3467
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-j1mh-vg1z-suda |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
| url |
VCID-s7qd-qe58-2ucs |
| vulnerability_id |
VCID-s7qd-qe58-2ucs |
| summary |
LiteLLM: Password hash exposure and pass-the-hash authentication bypass
### Impact
Three issues combine into a full authentication bypass chain:
1. Weak hashing: User passwords are stored as unsalted SHA-256 hashes, making them vulnerable to rainbow table attacks and trivially identifying users with identical passwords.
2. Hash exposure: Multiple API endpoints (/user/info, /user/update, /spend/users) return the password hash field in responses to any authenticated user regardless of role. Plaintext passwords could also potentially be exposed in certain scenarios.
4. Pass-the-hash: The /v2/login endpoint accepts the raw SHA-256 hash as a valid password without re-hashing, allowing direct login with a stolen
An already authenticated user can retrieve another user's password hash from the API and use it to log in as that user. This enables full privilege escalation in three HTTP requests.
### Patches
Fixed in v1.83.0. Passwords are now hashed with scrypt (random 16-byte salt, n=16384, r=8, p=1). Password hashes are stripped from all API responses. Existing SHA-256 hashes are transparently migrated on next login. |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-69x8-hrgq-fjj8
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-s7qd-qe58-2ucs |
|
| 15 |
| url |
VCID-w3wh-mjtz-jbdb |
| vulnerability_id |
VCID-w3wh-mjtz-jbdb |
| summary |
LiteLLM has Server-Side Template Injection vulnerability in /completions endpoint
BerriAI/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. |
| references |
|
| fixed_packages |
| 0 |
| url |
pkg:pypi/litellm@1.34.3 |
| purl |
pkg:pypi/litellm@1.34.3 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-1bck-72ae-wfcm |
|
| 1 |
| vulnerability |
VCID-914t-kdw9-uugv |
|
| 2 |
| vulnerability |
VCID-a5y6-f7xv-43gk |
|
| 3 |
| vulnerability |
VCID-cnnd-frah-5yh5 |
|
| 4 |
| vulnerability |
VCID-cwhb-pzcz-yfeq |
|
| 5 |
| vulnerability |
VCID-d75y-3ax4-sqg9 |
|
| 6 |
| vulnerability |
VCID-fvh1-8bnc-hqcz |
|
| 7 |
| vulnerability |
VCID-j6rg-j1zw-hkbx |
|
| 8 |
| vulnerability |
VCID-md8m-rdpu-dbe4 |
|
| 9 |
| vulnerability |
VCID-nst5-3xsy-qbgk |
|
| 10 |
| vulnerability |
VCID-pmft-nzj7-n3ee |
|
| 11 |
| vulnerability |
VCID-r97y-74wy-8fbb |
|
| 12 |
| vulnerability |
VCID-s7qd-qe58-2ucs |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:pypi/litellm@1.34.3 |
|
| 1 |
| url |
pkg:pypi/litellm@1.34.42 |
| purl |
pkg:pypi/litellm@1.34.42 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-1bck-72ae-wfcm |
|
| 1 |
| vulnerability |
VCID-914t-kdw9-uugv |
|
| 2 |
| vulnerability |
VCID-a5y6-f7xv-43gk |
|
| 3 |
| vulnerability |
VCID-cnnd-frah-5yh5 |
|
| 4 |
| vulnerability |
VCID-cwhb-pzcz-yfeq |
|
| 5 |
| vulnerability |
VCID-d75y-3ax4-sqg9 |
|
| 6 |
| vulnerability |
VCID-fvh1-8bnc-hqcz |
|
| 7 |
| vulnerability |
VCID-j6rg-j1zw-hkbx |
|
| 8 |
| vulnerability |
VCID-md8m-rdpu-dbe4 |
|
| 9 |
| vulnerability |
VCID-nst5-3xsy-qbgk |
|
| 10 |
| vulnerability |
VCID-pmft-nzj7-n3ee |
|
| 11 |
| vulnerability |
VCID-r97y-74wy-8fbb |
|
| 12 |
| vulnerability |
VCID-s7qd-qe58-2ucs |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:pypi/litellm@1.34.42 |
|
|
| aliases |
CVE-2024-2952, GHSA-46cm-pfwv-cgf8
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-w3wh-mjtz-jbdb |
|