litellm@1.105.0.dev1

Library to easily interface with LLM API providers

  • latest version

    1.105.0.dev2

  • first published

    3 years ago

  • latest version published

    9 hours 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
    Weak Authentication

    litellm is a Library to easily interface with LLM API providers

    Affected versions of this package are vulnerable to Weak Authentication via the JWT authentication flow's email-based fallback lookup, which does not verify the email_verified claim before resolving a user identity. An attacker holding a valid JWT from the configured identity provider can present a token containing an unverified email address that matches a victim's account, causing the system to authenticate the attacker as that victim and inherit their role, including proxy_admin privileges. This also permanently overwrites the victim's stored identity binding, granting the attacker persistent unauthorized access to administrative endpoints that expose API keys and user management functions.

    How to fix Weak Authentication?

    There is no fixed version for litellm.

    [0,)
    • 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,)
    • L
    Incorrect Authorization

    litellm is a Library to easily interface with LLM API providers

    Affected versions of this package are vulnerable to Incorrect Authorization in the user_api_key_auth.py file of the M2M JWT Handler. An attacker can gain unauthorized access to resources by exploiting insufficient authorization checks.

    Note: This is only exploitable if the attacker possesses valid but limited credentials and can craft specific JWTs to bypass intended access controls.

    How to fix Incorrect Authorization?

    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,)