Publish GHSA-q84m-rmw3-4382

This commit is contained in:
advisory-database[bot]
2024-03-26 21:23:56 +00:00
parent 27a0ecf3eb
commit 5c2afb58d3
@@ -1,11 +1,12 @@
{
"schema_version": "1.4.0",
"id": "GHSA-q84m-rmw3-4382",
"modified": "2024-03-26T15:30:50Z",
"modified": "2024-03-26T21:22:28Z",
"published": "2024-03-26T15:30:50Z",
"aliases": [
"CVE-2024-1455"
],
"summary": "LangChain's XMLOutputParser vulnerable to XML Entity Expansion",
"details": "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\n\nThis primarily affects users that combine an LLM (or agent) with the `XMLOutputParser` and expose the component via an endpoint on a web-service. \n\nThis 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.\n\nA successful attack is predicated on:\n\n1. Usage of XMLOutputParser\n2. Passing of malicious input into the XMLOutputParser either directly or by trying to manipulate an LLM to do so on the users behalf\n3. Exposing the component via a web-service",
"severity": [
{
@@ -14,13 +15,43 @@
}
],
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "langchain-core"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.1.34"
}
]
}
]
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-1455"
},
{
"type": "WEB",
"url": "https://github.com/langchain-ai/langchain/pull/17250"
},
{
"type": "WEB",
"url": "https://github.com/langchain-ai/langchain/commit/727d5023ce88e18e3074ef620a98137d26ff92a3"
},
{
"type": "PACKAGE",
"url": "https://github.com/langchain-ai/langchain"
},
{
"type": "WEB",
"url": "https://huntr.com/bounties/4353571f-c70d-4bfd-ac08-3a89cecb45b6"
@@ -31,8 +62,8 @@
"CWE-776"
],
"severity": "MODERATE",
"github_reviewed": false,
"github_reviewed_at": null,
"github_reviewed": true,
"github_reviewed_at": "2024-03-26T21:22:28Z",
"nvd_published_at": "2024-03-26T14:15:08Z"
}
}