LiteLLM Server-Side Request Forgery (SSRF) vulnerability
High severity
GitHub Reviewed
Published
Sep 13, 2024
to the GitHub Advisory Database
•
Updated Sep 13, 2024
Description
Published by the National Vulnerability Database
Sep 13, 2024
Published to the GitHub Advisory Database
Sep 13, 2024
Last updated
Sep 13, 2024
Reviewed
Sep 13, 2024
A Server-Side Request Forgery (SSRF) vulnerability exists in berriai/litellm version 1.38.10. This vulnerability allows users to specify the
api_base
parameter when making requests toPOST /chat/completions
, causing the application to send the request to the domain specified byapi_base
. This request includes the OpenAI API key. A malicious user can set theapi_base
to their own domain and intercept the OpenAI API key, leading to unauthorized access and potential misuse of the API key.References