lmdeploy@0.12.2

A toolset for compressing, deploying and serving LLM

  • latest version

    0.12.3

  • first published

    2 years ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the lmdeploy 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)

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the load_image() and encode_image_base64() functions in LMDeploy's vision-language module, which fetch URLs without validating whether the destination is an internal or private address. An attacker can access sensitive internal resources, such as cloud metadata services or internal network endpoints, by supplying a crafted URL to these functions.

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

    Upgrade lmdeploy to version 0.12.3 or higher.

    [,0.12.3)
    • M
    Arbitrary Code Injection

    Affected versions of this package are vulnerable to Arbitrary Code Injection through the Open function of the file lmdeploy/docs/en/conf.py. An attacker can manipulate the input to execute arbitrary code by crafting malicious input that is processed by this function.

    How to fix Arbitrary Code Injection?

    There is no fixed version for lmdeploy.

    [0,)