{"id":"CVE-2021-4249","aliases":["CVE-2021-4249","HSEC-2023-0004"],"related":[],"kind":"vulnerability","state":"published","title":"xml-conduit DOCTYPE Entity Expansion Parse.hs infinite loop","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"# xml-conduit unbounded entity expansion\n\nA vulnerability was found in *xml-conduit*. It has been classified\nas problematic.  Affected is an unknown function of the file\n`xml-conduit/src/Text/XML/Stream/Parse.hs` of the component DOCTYPE\nEntity Expansion Handler. The manipulation leads to infinite loop.\nIt is possible to launch the attack remotely. Upgrading to version\n1.9.1.0 is able to address this issue. The name of the patch is\n`4be1021791dcdee8b164d239433a2043dc0939ea`. It is recommended to\nupgrade the affected component.","format":"markdown","source":"hsec"},{"lang":"es","text":"Se encontró una vulnerabilidad en xml-conduit. Ha sido clasificada como problemática. Una función desconocida del archivo xml-conduit/src/Text/XML/Stream/Parse.hs del componente DOCTYPE Entity Expansion Handler es afectada por esta vulnerabilidad. La manipulación conduce a un bucle infinito. Es posible lanzar el ataque de forma remota. La actualización a la versión 1.9.1.0 puede solucionar este problema. El nombre del parche es 4be1021791dcdee8b164d239433a2043dc0939ea. Se recomienda actualizar el componente afectado. El identificador de esta vulnerabilidad es VDB-216204.","source":"nvd"}],"published":"2022-12-18T00:00:00.000Z","modified":"2026-06-17T04:19:21.033Z","severity":{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-404"],"affected":[{"ranges":[{"version":"0.5.0","status":"affected"},{"version":"0.5.0.1","status":"affected"},{"version":"0.5.1","status":"affected"},{"version":"0.5.1.1","status":"affected"},{"version":"0.5.1.2","status":"affected"},{"version":"0.5.2","status":"affected"},{"version":"0.5.3","status":"affected"},{"version":"0.5.3.1","status":"affected"},{"version":"0.5.4","status":"affected"},{"version":"0.6.0","status":"affected"},{"version":"0.6.1","status":"affected"},{"version":"0.7.0","status":"affected"},{"version":"0.7.0.1","status":"affected"},{"version":"0.7.0.2","status":"affected"},{"version":"0.7.0.3","status":"affected"},{"version":"1.0.0","status":"affected"},{"version":"1.0.1","status":"affected"},{"version":"1.0.1.1","status":"affected"},{"version":"1.0.2","status":"affected"},{"version":"1.0.2.1","status":"affected"},{"version":"1.0.3","status":"affected"},{"version":"1.0.3.1","status":"affected"},{"version":"1.0.3.2","status":"affected"},{"version":"1.0.3.3","status":"affected"},{"version":"1.1.0","status":"affected"},{"version":"1.1.0.1","status":"affected"},{"version":"1.1.0.2","status":"affected"},{"version":"1.1.0.3","status":"affected"},{"version":"1.1.0.4","status":"affected"},{"version":"1.1.0.5","status":"affected"},{"version":"1.1.0.6","status":"affected"},{"version":"1.1.0.7","status":"affected"},{"version":"1.1.0.8","status":"affected"},{"version":"1.1.0.9","status":"affected"},{"version":"1.2.0","status":"affected"},{"version":"1.2.0.1","status":"affected"},{"version":"1.2.0.2","status":"affected"},{"version":"1.2.0.3","status":"affected"},{"version":"1.2.1","status":"affected"},{"version":"1.2.1.1","status":"affected"},{"version":"1.2.2","status":"affected"},{"version":"1.2.3","status":"affected"},{"version":"1.2.3.1","status":"affected"},{"version":"1.2.3.2","status":"affected"},{"version":"1.2.3.3","status":"affected"},{"version":"1.2.4","status":"affected"},{"version":"1.2.5","status":"affected"},{"version":"1.2.5.1","status":"affected"},{"version":"1.2.6","status":"affected"},{"version":"1.3.0","status":"affected"},{"version":"1.3.1","status":"affected"},{"version":"1.3.2","status":"affected"},{"version":"1.3.3","status":"affected"},{"version":"1.3.3.1","status":"affected"},{"version":"1.3.4","status":"affected"},{"version":"1.3.4.1","status":"affected"},{"version":"1.3.4.2","status":"affected"},{"version":"1.3.5","status":"affected"},{"version":"1.4.0","status":"affected"},{"version":"1.4.0.1","status":"affected"},{"version":"1.4.0.2","status":"affected"},{"version":"1.4.0.3","status":"affected"},{"version":"1.4.0.4","status":"affected"},{"version":"1.5.0","status":"affected"},{"version":"1.5.1","status":"affected"},{"version":"1.6.0","status":"affected"},{"version":"1.7.0","status":"affected"},{"version":"1.7.0.1","status":"affected"},{"version":"1.7.1.0","status":"affected"},{"version":"1.7.1.1","status":"affected"},{"version":"1.7.1.2","status":"affected"},{"version":"1.8.0","status":"affected"},{"version":"1.8.0.1","status":"affected"},{"version":"1.9.0.0","status":"affected"}],"vendor":"unspecified","product":"xml-conduit","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.5.0","status":"affected","fixed":"1.9.1.0"}],"ecosystem":"Hackage","package":"xml-conduit","purl":"pkg:hackage/xml-conduit","source":"hsec"},{"ranges":[{"status":"affected","fixed":"1.9.1.0"}],"vendor":"haskell","product":"xml-conduit","cpe":"cpe:2.3:a:haskell:xml-conduit:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/snoyberg/xml/pull/161","tags":["fix","patch","third-party-advisory","x-transferred"],"sources":["cvelist","hsec","nvd"]},{"url":"https://hackage.haskell.org/package/xml-conduit-1.9.1.0","tags":["release-notes","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/snoyberg/xml/commit/4be1021791dcdee8b164d239433a2043dc0939ea","tags":["fix","patch","third-party-advisory","x-transferred"],"sources":["cvelist","hsec","nvd"]},{"url":"https://vuldb.com/?id.216204","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-14T17:02:21.860Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-4249","url":"https://www.cve.org/CVERecord?id=CVE-2021-4249","licence":"CVE Terms of Use","modified":"2025-04-15T13:00:10.630Z"},{"source":"hsec","name":"Haskell Security Advisories","id":"HSEC-2023-0004","url":"https://osv.dev/vulnerability/HSEC-2023-0004","licence":"CC0-1.0","modified":"2026-05-30T07:41:09.999Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-4249","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4249","licence":"Public domain","modified":"2026-06-17T04:19:21.033Z"}],"updatedAt":"2026-11-25T22:58:07.949Z","epss":{"score":0.0086,"percentile":0.5962,"date":"2026-12-02T12:00:21.000Z"}}