ghsa-2qmj-7962-cjq8
Vulnerability from github
Published
2023-07-03 21:30
Modified
2024-11-22 22:42
Summary
langchain arbitrary code execution vulnerability
Details

An issue in langchain allows an attacker to execute arbitrary code via the PALChain in the python exec method.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "langchain"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.0.247"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2023-36258"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-06T15:11:23Z",
    "nvd_published_at": "2023-07-03T21:15:09Z",
    "severity": "CRITICAL"
  },
  "details": "An issue in langchain allows an attacker to execute arbitrary code via the PALChain in the python exec method.",
  "id": "GHSA-2qmj-7962-cjq8",
  "modified": "2024-11-22T22:42:14Z",
  "published": "2023-07-03T21:30:57Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36258"
    },
    {
      "type": "WEB",
      "url": "https://github.com/langchain-ai/langchain/issues/5872"
    },
    {
      "type": "WEB",
      "url": "https://github.com/langchain-ai/langchain/issues/5872#issuecomment-1697785619"
    },
    {
      "type": "WEB",
      "url": "https://github.com/langchain-ai/langchain/pull/6003"
    },
    {
      "type": "WEB",
      "url": "https://github.com/langchain-ai/langchain/pull/7870"
    },
    {
      "type": "WEB",
      "url": "https://github.com/langchain-ai/langchain/pull/8425"
    },
    {
      "type": "WEB",
      "url": "https://github.com/langchain-ai/langchain/commit/8ba9835b925473655914f63822775679e03ea137"
    },
    {
      "type": "WEB",
      "url": "https://github.com/langchain-ai/langchain/commit/e294ba475a355feb95003ed8f1a2b99942509a9e"
    },
    {
      "type": "WEB",
      "url": "https://github.com/langchain-ai/langchain/commit/fab24457bcf8ede882abd11419769c92bc4e7751"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/hwchase17/langchain"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-98.yaml"
    }
  ],
  "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"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "langchain arbitrary code execution vulnerability"
}


Log in or create an account to share your comment.




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.