langchain-nvidia-ai-endpoints@0.3.19

An integration package connecting NVIDIA AI Endpoints and LangChain

  • latest version

    1.5.0

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    12 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the langchain-nvidia-ai-endpoints 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
    Directory Traversal

    langchain-nvidia-ai-endpoints is an An integration package connecting NVIDIA AI Endpoints and LangChain

    Affected versions of this package are vulnerable to Directory Traversal via the _url_to_b64_string function in _utils.py, which previously accepted local filesystem paths as image inputs for VLM (Vision Language Model) requests. An attacker who can influence the image source value passed to the chat model can supply a local file path, causing the server to read and encode arbitrary local files and transmit their contents to the configured NVIDIA AI endpoint, resulting in disclosure of sensitive server-side files.

    How to fix Directory Traversal?

    Upgrade langchain-nvidia-ai-endpoints to version 1.4.2 or higher.

    [,1.4.2)