medium5.3
CVE-2024-5710
litellm vulnerable to improper access control in team management
Impact
berriai/litellm version 1.34.34 is vulnerable to improper access control in its team management functionality. This vulnerability allows attackers to perform unauthorized actions such as creating, updating, viewing, deleting, blocking, and unblocking any teams, as well as adding or deleting any member to or from any teams. The vulnerability stems from insufficient access control checks in various team management endpoints, enabling attackers to exploit these functionalities without proper authorization.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | litellm | < 1.40.15 | 1.40.15 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Litellm | Litellm | Version 1.34.34 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://huntr.com/bounties/70897f59-a966-4d93-b71e-745e3da91970
- https://github.com/advisories/GHSA-qqcv-vg9f-5rr3
- https://nvd.nist.gov/vuln/detail/CVE-2024-5710
- https://github.com/BerriAI/litellm/commit/da3ae00bd68f451ed8ddf0bc0a9fd34bde5554d6
- https://github.com/BerriAI/litellm/blob/224148d6133ee50801cb129cbd21ccc213992e25/litellm/proxy/auth/user_api_key_auth.py#L1020