Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/langchain-core@0.1.34
Typepypi
Namespace
Namelangchain-core
Version0.1.34
Qualifiers
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version0.3.80
Latest_non_vulnerable_version1.2.11
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-chue-k3f3-m3b9
vulnerability_id VCID-chue-k3f3-m3b9
summary
LangChain's XMLOutputParser vulnerable to XML Entity Expansion
The XMLOutputParser in LangChain uses the etree module from the XML parser in the standard python library which has some XML vulnerabilities; see: https://docs.python.org/3/library/xml.html

This primarily affects users that combine an LLM (or agent) with the `XMLOutputParser` and expose the component via an endpoint on a web-service.

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.

A successful attack is predicated on:

1. Usage of XMLOutputParser
2. Passing of malicious input into the XMLOutputParser either directly or by trying to manipulate an LLM to do so on the users behalf
3. Exposing the component via a web-service
references
0
reference_url https://github.com/langchain-ai/langchain
reference_id
reference_type
scores
url https://github.com/langchain-ai/langchain
1
reference_url https://github.com/langchain-ai/langchain/commit/727d5023ce88e18e3074ef620a98137d26ff92a3
reference_id
reference_type
scores
url https://github.com/langchain-ai/langchain/commit/727d5023ce88e18e3074ef620a98137d26ff92a3
2
reference_url https://github.com/langchain-ai/langchain/pull/17250
reference_id
reference_type
scores
url https://github.com/langchain-ai/langchain/pull/17250
3
reference_url https://huntr.com/bounties/4353571f-c70d-4bfd-ac08-3a89cecb45b6
reference_id
reference_type
scores
url https://huntr.com/bounties/4353571f-c70d-4bfd-ac08-3a89cecb45b6
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2024-1455
reference_id CVE-2024-1455
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2024-1455
5
reference_url https://github.com/advisories/GHSA-q84m-rmw3-4382
reference_id GHSA-q84m-rmw3-4382
reference_type
scores
url https://github.com/advisories/GHSA-q84m-rmw3-4382
fixed_packages
0
url pkg:pypi/langchain-core@0.1.34
purl pkg:pypi/langchain-core@0.1.34
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/langchain-core@0.1.34
aliases CVE-2024-1455, GHSA-q84m-rmw3-4382
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-chue-k3f3-m3b9
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/langchain-core@0.1.34