Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 887065 (CVE-2021-4249)

Summary: <dev-haskell/xml-conduit-1.9.1.1: infinite loop via crafted xml
Product: Gentoo Security Reporter: John Helmert III <ajak>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: CONFIRMED ---    
Severity: minor CC: haskell
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://vuldb.com/?id.216204
See Also: https://github.com/gentoo/gentoo/pull/36358
Whiteboard: B4 [glsa?]
Package list:
Runtime testing required: ---

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.