Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887065 (CVE-2021-4249) - <dev-haskell/xml-conduit-1.9.1.1: infinite loop via crafted xml
Summary: <dev-haskell/xml-conduit-1.9.1.1: infinite loop via crafted xml
Status: CONFIRMED
Alias: CVE-2021-4249
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Security
URL: https://vuldb.com/?id.216204
Whiteboard: B4 [glsa?]
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-12-18 22:06 UTC by John Helmert III
Modified: 2024-05-03 14:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-12-18 22:06:45 UTC
CVE-2021-4249:

A vulnerability was found in xml-conduit. It has been classified as problematic. Affected is an unknown function of the file xml-conduit/src/Text/XML/Stream/Parse.hs of the component DOCTYPE Entity Expansion Handler. The manipulation leads to infinite loop. It is possible to launch the attack remotely. Upgrading to version 1.9.1.0 is able to address this issue. The name of the patch is 4be1021791dcdee8b164d239433a2043dc0939ea. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-216204.

Patch is: https://github.com/snoyberg/xml/commit/4be1021791dcdee8b164d239433a2043dc0939ea

I see that commit has a tag for xml-hamlet-0.5.0.2 and for
html-conduit-1.3.2.2. Are both Gentoo packages affected?
Comment 1 Christopher Fore 2024-05-03 14:39:09 UTC
I brought this up in the -haskell channel regarding the PR and they said this only affects xml-conduit. Upstream just produces multiple packages from one repository so the tags for those made their way onto the commit.