Improper Access Control Affecting langchain-experimental package, versions [,0.0.61)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LANGCHAINEXPERIMENTAL-7266557
  • published17 Jun 2024
  • disclosed16 Jun 2024
  • creditUnknown

Introduced: 16 Jun 2024

CVE-2024-38459  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade langchain-experimental to version 0.0.61 or higher.

Overview

langchain-experimental is a package that holds experimental LangChain code, intended for research and experimental uses.

Affected versions of this package are vulnerable to Improper Access Control due to the provision of Python REPL access without requiring an opt-in step. An attacker can gain unauthorized access or execute arbitrary code by exploiting this oversight.

NOTE:

This vulnerability derives from an incomplete fix for CVE-2024-27444.

CVSS Scores

version 3.1