langchain-openai@1.1.13

An integration package connecting OpenAI and LangChain

  • latest version

    1.2.1

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    16 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the langchain-openai 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
    • L
    Server-side Request Forgery (SSRF)

    langchain-openai is an An integration package connecting OpenAI and LangChain

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the image token counting _url_to_size() function. An attacker can access internal network resources by exploiting a DNS rebinding window between URL validation and fetching.

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

    Upgrade langchain-openai to version 1.1.14 or higher.

    [,1.1.14)