What’s Vulnerable › Vulnerabilities
CVE-2021-4249: xml-conduit DOCTYPE Entity Expansion Parse.hs infinite loop
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-12-18 · updated 2026-06-17
- Weakness: CWE-404
Description
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.
Affected products
- xml-conduit: before 1.9.1.0 — fixed in 1.9.1.0
How to fix
Upgrade to a fixed version: xml-conduit 1.9.1.0. Check the vendor advisory for mitigations.
References
- https://github.com/snoyberg/xml/commit/4be1021791dcdee8b164d239433a2043dc0939ea
- https://github.com/snoyberg/xml/pull/161
- https://hackage.haskell.org/package/xml-conduit-1.9.1.0
- https://vuldb.com/?id.216204
- https://github.com/snoyberg/xml/commit/4be1021791dcdee8b164d239433a2043dc0939ea
- https://github.com/snoyberg/xml/pull/161
- https://hackage.haskell.org/package/xml-conduit-1.9.1.0
- https://vuldb.com/?id.216204
Get alerted when CVE-2021-4249 or the next vulnerability affects your stack