Skip to content

Conversation

@eyurtsev
Copy link
Collaborator

@eyurtsev eyurtsev commented Mar 27, 2024

Patch potential XML vulnerability CVE-2024-1455

This patches a potential XML vulnerability in the XMLOutputParser in langchain-core. The vulnerability in some situations could lead to a denial of service attack.

At risk are users that:

  1. Running older distributions of python that have older version of libexpat
  2. Are using XMLOutputParser with an agent
  3. Accept inputs from untrusted sources with this agent (e.g., endpoint on the web that allows an untrusted user to interact wiith the parser)

@vercel
Copy link

vercel bot commented Mar 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Mar 27, 2024 2:18pm

@eyurtsev eyurtsev marked this pull request as ready for review March 27, 2024 14:41
@dosubot dosubot bot added the size:L label Mar 27, 2024
@eyurtsev eyurtsev changed the title core[patch]: Patch XML vulnurability core[patch]: Patch XML vulnurability (CVE-2024-1455) Mar 27, 2024
@eyurtsev eyurtsev changed the title core[patch]: Patch XML vulnurability (CVE-2024-1455) core[patch]: Patch XML vulnerability (CVE-2024-1455) Mar 27, 2024
@eyurtsev eyurtsev changed the title core[patch]: Patch XML vulnerability (CVE-2024-1455) core[patch]: Patch XML vulnerability in XMLOutputParser (CVE-2024-1455) Mar 27, 2024
@dosubot dosubot bot added the lgtm label Mar 27, 2024
@eyurtsev eyurtsev merged commit e8339b1 into master Mar 27, 2024
@eyurtsev eyurtsev deleted the eugene/xml_fix_2 branch March 27, 2024 16:41
gkorland pushed a commit to FalkorDB/langchain that referenced this pull request Mar 30, 2024
… (langchain-ai#19653)

Patch potential XML vulnerability CVE-2024-1455

This patches a potential XML vulnerability in the XMLOutputParser in
langchain-core. The vulnerability in some situations could lead to a
denial of service attack.

At risk are users that:

1) Running older distributions of python that have older version of
libexpat
2) Are using XMLOutputParser with an agent
3) Accept inputs from untrusted sources with this agent (e.g., endpoint
on the web that allows an untrusted user to interact wiith the parser)
hinthornw pushed a commit that referenced this pull request Apr 26, 2024
… (#19653)

Patch potential XML vulnerability CVE-2024-1455

This patches a potential XML vulnerability in the XMLOutputParser in
langchain-core. The vulnerability in some situations could lead to a
denial of service attack.

At risk are users that:

1) Running older distributions of python that have older version of
libexpat
2) Are using XMLOutputParser with an agent
3) Accept inputs from untrusted sources with this agent (e.g., endpoint
on the web that allows an untrusted user to interact wiith the parser)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants