GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GSD-2023-34540

Vulnerability from gsd - Updated: 2023-12-13 01:20
Details
An issue discovered in Langchain before 0.0.225 allows attacker to run arbitrary code via jira.run('other' substring.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2023-34540",
    "id": "GSD-2023-34540"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2023-34540"
      ],
      "details": "An issue discovered in Langchain before 0.0.225 allows attacker to run arbitrary code via jira.run(\u0027other\u0027 substring.",
      "id": "GSD-2023-34540",
      "modified": "2023-12-13T01:20:30.921551Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2023-34540",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Langchain before v0.0.225 was discovered to contain a remote code execution (RCE) vulnerability in the component JiraAPIWrapper (aka the JIRA API wrapper). This vulnerability allows attackers to execute arbitrary code via crafted input. As noted in the \"releases/tag\" reference, a fix is available."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/hwchase17/langchain/issues/4833",
            "refsource": "MISC",
            "url": "https://github.com/hwchase17/langchain/issues/4833"
          },
          {
            "name": "https://github.com/langchain-ai/langchain/pull/6992",
            "refsource": "MISC",
            "url": "https://github.com/langchain-ai/langchain/pull/6992"
          },
          {
            "name": "https://github.com/langchain-ai/langchain/releases/tag/v0.0.225",
            "refsource": "MISC",
            "url": "https://github.com/langchain-ai/langchain/releases/tag/v0.0.225"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c=0.0.171",
          "affected_versions": "All versions up to 0.0.171",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2023-07-01",
          "description": "Langchain 0.0.171 is vulnerable to Arbitrary Code Execution.",
          "fixed_versions": [],
          "identifier": "CVE-2023-34540",
          "identifiers": [
            "GHSA-x32c-59v5-h7fg",
            "CVE-2023-34540"
          ],
          "not_impacted": "",
          "package_slug": "pypi/langchain",
          "pubdate": "2023-06-14",
          "solution": "Unfortunately, there is no solution available yet.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2023-34540",
            "https://github.com/hwchase17/langchain/issues/4833",
            "https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-91.yaml",
            "https://github.com/advisories/GHSA-x32c-59v5-h7fg"
          ],
          "uuid": "76b25fa0-6eb9-45db-94e0-56638558259b"
        }
      ]
    },
    "nvd.nist.gov": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:langchain:langchain:0.0.171:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D8235D79-2666-4DEE-B6A2-A5DE48FB42C6",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "descriptions": [
          {
            "lang": "en",
            "value": "Langchain before v0.0.225 was discovered to contain a remote code execution (RCE) vulnerability in the component JiraAPIWrapper (aka the JIRA API wrapper). This vulnerability allows attackers to execute arbitrary code via crafted input. As noted in the \"releases/tag\" reference, a fix is available."
          }
        ],
        "id": "CVE-2023-34540",
        "lastModified": "2024-03-13T22:15:08.097",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9.8,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 5.9,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2023-06-14T15:15:10.287",
        "references": [
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit",
              "Issue Tracking"
            ],
            "url": "https://github.com/hwchase17/langchain/issues/4833"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://github.com/langchain-ai/langchain/pull/6992"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://github.com/langchain-ai/langchain/releases/tag/v0.0.225"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "NVD-CWE-noinfo"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…