CVE-2023-34540: OS Command Injection

Published Jun 14, 2023
·
Updated

Langchain 0.0.171 is vulnerable to Arbitrary Code Execution.

Other sources

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.

NVD

Affected Software

2 affected componentsFixes available
pip/langchain<0.0.225
0.0.225
Langchain Langchain=0.0.171

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/langchain to a version that resolves this vulnerability.

    Fixed in 0.0.225
  2. Upgrade

    Upgrade langchain/JiraAPIWrapper to a version that resolves this vulnerability.

    Fixed in 0.0.225

Event History

Jun 14, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·03:15 PM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·03:30 PM

Frequently Asked Questions

1

What is CVE-2023-34540?

CVE-2023-34540 refers to a vulnerability in Langchain 0.0.171 that allows arbitrary code execution.

2

How severe is CVE-2023-34540?

CVE-2023-34540 has a severity score of 9.8 (Critical).

3

How does CVE-2023-34540 work?

CVE-2023-34540 works by exploiting a command injection vulnerability in the `jira.run()` command of Langchain 0.0.171.

4

What software versions are affected by CVE-2023-34540?

Versions up to but excluding 0.0.225 of Langchain are affected, as well as version 0.0.171.

5

Is there a fix available for CVE-2023-34540?

Yes, upgrading to version 0.0.225 of Langchain will fix the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203