PyPi: Langchain-Core

CVE-2024-1455

Safety vulnerability ID: 71610

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Mar 26, 2024 Updated at Dec 10, 2024
Scan your Python projects for vulnerabilities →

Advisory

The XMLOutputParser in LangChain uses the etree module from the XML parser in the standard python library which has some XML vulnerabilities. This would allow a malicious party to attempt to manipulate the LLM to produce a malicious payload for the parser that would compromise the availability of the service. At risk are users that:
- Are running older distributions of python that have older version of libexpat. Expat 2.4.1 and newer are not affected.
- Are using XMLOutputParser with an agent.
- Accept inputs from untrusted sources with this agent (e.g., endpoint on the web that allows an untrusted user to interact wiith the parser).

Affected package

langchain-core

Latest version: 0.3.24

Building applications with LLMs through composability

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application