Security readout for executives and security teams
Plain-English summary
CVE-2021-4249 affects Haskell's xml-conduit library. Specially crafted XML involving DOCTYPE entity expansion can cause an infinite loop, reducing availability. It is not a data theft or privilege escalation issue in the provided sources, but services that parse untrusted XML may hang or degrade until the dependency is upgraded.
Executive priority
Handle in normal patch cadence, faster for internet-facing or partner-facing XML processing. Business risk is service degradation rather than direct compromise based on provided evidence. Lack of active-exploitation evidence lowers urgency, but simple dependency remediation is available.
Technical view
The issue is in xml-conduit/src/Text/XML/Stream/Parse.hs, within DOCTYPE entity expansion handling. Affected versions run through 1.9.0.0, and version 1.9.1.0 includes the referenced fix commit 4be1021791dcdee8b164d239433a2043dc0939ea. CVSS 3.1 is 4.3: network reachable, low complexity, no privileges, user interaction required, low availability impact.
Likely exposure
Exposure is most likely in Haskell applications or services that depend on xml-conduit versions 0.5.0 through 1.9.0.0 and parse XML influenced by users, partners, uploads, feeds, or integrations. The source bundle provides no CPEs, so dependency inventory is the most reliable exposure check.
Exploitation context
The sources state remote attack is possible and CVSS indicates user interaction is required. No KEV listing is present, and the provided bundle does not cite active exploitation, public exploit use, or observed attacks. Treat exploit status as unconfirmed rather than active.
Researcher notes
The record identifies CWE-404 and an infinite-loop condition in DOCTYPE entity expansion handling. Affected function details are not fully named in the bundle. Validation should focus on dependency versioning and XML input paths; avoid assuming broader XML parser impacts beyond xml-conduit.
Mitigation direction
- Upgrade xml-conduit to version 1.9.1.0 or later.
- Prioritize systems that parse externally supplied XML.
- Review the upstream PR and commit for parser behavior changes.
- If upgrade timing is uncertain, check current upstream package guidance.
Validation and detection
- Inventory Haskell dependencies for xml-conduit versions through 1.9.0.0.
- Confirm deployed builds use xml-conduit 1.9.1.0 or later.
- Identify routes, jobs, or integrations that parse untrusted XML.
- Check monitoring for XML parsing hangs or availability degradation.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-404: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2021-4249 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 4.3 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L2.81.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
4.3MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/snoyberg/xml/pull/161CVE reference
- https://hackage.haskell.org/package/xml-conduit-1.9.1.0CVE reference
- https://github.com/snoyberg/xml/commit/4be1021791dcdee8b164d239433a2043dc0939eaCVE reference
- https://vuldb.com/?id.216204CVE reference
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Resource Shutdown or Release
Improper Resource Shutdown or Release represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
