langchain-experimental@0.0.1 vulnerabilities

Building applications with LLMs through composability

  • latest version

    0.3.4

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    4 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Improper Access Control

    langchain-experimental is a package that holds experimental LangChain code, intended for research and experimental uses.

    Affected versions of this package are vulnerable to Improper Access Control due to the provision of Python REPL access without requiring an opt-in step. An attacker can gain unauthorized access or execute arbitrary code by exploiting this oversight.

    NOTE:

    This vulnerability derives from an incomplete fix for CVE-2024-27444.

    How to fix Improper Access Control?

    Upgrade langchain-experimental to version 0.0.61 or higher.

    [,0.0.61)
    • C
    Arbitrary Code Execution

    langchain-experimental is a package that holds experimental LangChain code, intended for research and experimental uses.

    Affected versions of this package are vulnerable to Arbitrary Code Execution. via the __import__, __subclasses__, __builtins__, __globals__, __getattribute__, __bases__, __mro__ or __base__ attributes in Python code.

    Note: Code is clearly documented as being risky and the correct mitigation strategy is by executing the code in a sandboxed environment.

    How to fix Arbitrary Code Execution?

    Upgrade langchain-experimental to version 0.0.52 or higher.

    [,0.0.52)
    • C
    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

    langchain-experimental is a package that holds experimental LangChain code, intended for research and experimental uses.

    Affected versions of this package are vulnerable to Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') via the PALChain in the python exec method. An attacker can bypass the fix for CVE-2023-36258 and execute arbitrary code by exploiting this vulnerability.

    How to fix Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')?

    Upgrade langchain-experimental to version 0.0.24 or higher.

    [,0.0.24)