Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. langchain
  4. ›
  5. CVE-2023-36188

CVE-2023-36188: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

July 6, 2023 (updated July 12, 2023)

An issue in langchain v.0.0.64 allows a remote attacker to execute arbitrary code via the PALChain parameter in the Python exec method.

References

  • github.com/hwchase17/langchain/issues/5872
  • github.com/hwchase17/langchain/pull/6003
  • nvd.nist.gov/vuln/detail/CVE-2023-36188

Code Behaviors & Features

Detect and mitigate CVE-2023-36188 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 0.0.64

Fixed versions

  • 0.0.65

Solution

Upgrade to version 0.0.65 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

pypi/langchain/CVE-2023-36188.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.