CVE-2021-4249
HIGH 7.5CVSS 3.1xml-conduit unbounded entity expansion
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.
- Published
- 18 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-404
- Also known as
- HSEC-2023-0004
- Sources
- NVDJSONOSV HSEC-2023-0004JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | HSEC | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | haskell | xml-conduitcpe:2.3:a:haskell:xml-conduit:*:*:*:*:*:*:*:* |
< 1.9.1.0 | 1.9.1.0 |
| OSV | Hackage | xml-conduit | >= 0.5.0, < 1.9.1.0 | 1.9.1.0 |
References
- https://github.com/snoyberg/xml/commit/4be1021791dcdee8b164d239433a2043dc0939ea · Patch, Third Party Advisory, FIX
- https://github.com/snoyberg/xml/pull/161 · Patch, Third Party Advisory, FIX
- https://hackage.haskell.org/package/xml-conduit-1.9.1.0 · Release Notes, Vendor Advisory
- https://vuldb.com/?id.216204 · Third Party Advisory
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 18 Dec 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Nov 2025)