ghsa-gjjr-63x4-v8cq
Vulnerability from github
Published
2023-10-09 21:30
Modified
2025-02-24 20:47
Severity ?
Summary
langchain_experimental vulnerable to arbitrary code execution via PALChain in the python exec method
Details

langchain_experimental (aka LangChain Experimental) in LangChain before 0.0.306 allows an attacker to bypass the CVE-2023-36258 fix and execute arbitrary code via import in Python code, which is not prohibited by pal_chain/base.py.

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "PyPI",
            name: "langchain-experimental",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     last_affected: "0.0.14",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2023-44467",
   ],
   database_specific: {
      cwe_ids: [],
      github_reviewed: true,
      github_reviewed_at: "2023-10-10T21:19:42Z",
      nvd_published_at: "2023-10-09T20:15:10Z",
      severity: "CRITICAL",
   },
   details: "langchain_experimental (aka LangChain Experimental) in LangChain before 0.0.306 allows an attacker to bypass the CVE-2023-36258 fix and execute arbitrary code via __import__ in Python code, which is not prohibited by pal_chain/base.py.",
   id: "GHSA-gjjr-63x4-v8cq",
   modified: "2025-02-24T20:47:26Z",
   published: "2023-10-09T21:30:27Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2023-44467",
      },
      {
         type: "WEB",
         url: "https://github.com/langchain-ai/langchain/pull/11233",
      },
      {
         type: "WEB",
         url: "https://github.com/langchain-ai/langchain/commit/4c97a10bd0d9385cfee234a63b5bd826a295e483",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/langchain-ai/langchain",
      },
      {
         type: "WEB",
         url: "https://github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2023-194.yaml",
      },
      {
         type: "WEB",
         url: "https://pypi.org/project/langchain-experimental/0.0.14",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
         type: "CVSS_V3",
      },
   ],
   summary: "langchain_experimental vulnerable to arbitrary code execution via PALChain in the python exec method",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.