CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Langchain

CVE-2024-46946
Langchain-experimental vulnerability

langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain allows attackers to execute arbitrary code through sympy.sympify (which uses eval) in LLMSymbolicMathChain. LLMSymbolicMathChain was introduced in fcccde406dd9e9b05fc9babcbeb9ff527b0ec0c6 (2023-10-05).

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Langchain-experimental. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Langchain-experimental runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Langchain products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.