litellm@1.93.0

Library to easily interface with LLM API providers

  • latest version

    1.102.0.dev2

  • first published

    3 years ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the litellm package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Server-side Request Forgery (SSRF)

    litellm is a Library to easily interface with LLM API providers

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) through request-body validation in the proxy auth path. An authenticated user can supply routing or credential parameters such as api_base, base_url, or other deployment-owned fields in the request body to redirect an outbound provider call to an attacker-controlled destination and make the proxy send its configured upstream credentials there. The vulnerable validation missed sensitive parameters and did not consistently inspect nested request fields, so caller-controlled body data could override server-side deployment settings instead of being rejected. From the user’s perspective, this can leak provider API keys and other configured secrets and can also be used to make the proxy reach internal services that are otherwise only accessible from its network.

    How to fix Server-side Request Forgery (SSRF)?

    Upgrade litellm to version 1.88.6, 1.89.7, 1.90.7, 1.91.5, 1.92.2, 1.93.2, 1.94.3, 1.95.1, 1.96.2 or higher.

    [,1.88.6)[1.89.0rc1,1.89.7)[1.90.0rc1,1.90.7)[1.91.0rc1,1.91.5)[1.92.0rc1,1.92.2)[1.93.0rc1,1.93.2)[1.94.0rc1,1.94.3)[1.95.0rc1,1.95.1)[1.96.0rc1,1.96.2)
    • M
    Insufficient Session Expiration

    litellm is a Library to easily interface with LLM API providers

    Affected versions of this package are vulnerable to Insufficient Session Expiration in the get_redirect_response_from_openid() function of the SSO Authentication Flow process. An attacker can cause premature session termination by manipulating authentication responses remotely, potentially leading to unauthorized session expiration and disruption of user access.

    How to fix Insufficient Session Expiration?

    There is no fixed version for litellm.

    [0,)
    • M
    Missing Authentication for Critical Function

    litellm is a Library to easily interface with LLM API providers

    Affected versions of this package are vulnerable to Missing Authentication for Critical Function in the /sso/debug/login and /sso/debug/callback endpoints in the SSO Debug Flow. An attacker can gain unauthorized access and potentially manipulate sensitive information by sending crafted requests to the affected endpoint.

    How to fix Missing Authentication for Critical Function?

    There is no fixed version for litellm.

    [0,)
    • H
    Insufficient Session Expiration

    litellm is a Library to easily interface with LLM API providers

    Affected versions of this package are vulnerable to Insufficient Session Expiration in the authenticate_user function. An attacker can gain unauthorized access or maintain access to sensitive information by exploiting session management flaws.

    How to fix Insufficient Session Expiration?

    There is no fixed version for litellm.

    [0,)