langchain-community@0.2.17 vulnerabilities

Community contributed LangChain integrations.

  • latest version

    0.4.1

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the langchain-community 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
    XML External Entity (XXE) Injection

    Affected versions of this package are vulnerable to XML External Entity (XXE) Injection via insecure use of etree.iterparse() parsing. An attacker can access sensitive information by submitting crafted XML payload with referencies to local files.

    How to fix XML External Entity (XXE) Injection?

    Upgrade langchain-community to version 0.3.27 or higher.

    [,0.3.27)
    • L
    SQL Injection

    Affected versions of this package are vulnerable to SQL Injection through the GraphCypherQAChain class. An attacker can manipulate, delete, or create data, disrupt services, and compromise database integrity by injecting malicious SQL commands into prompts.

    Note: This vulnerability impacts LangChain developers who:

    1. Have not specified appropriate RBAC controls for their application

    2. Have exposed an endpoint that accepts inputs from a user

    How to fix SQL Injection?

    Upgrade langchain-community to version 0.2.19 or higher.

    [0.2.5,0.2.19)