CVE Vulnerabilities

CVE-2021-4249

Improper Resource Shutdown or Release

Published: Dec 18, 2022 | Modified: Nov 07, 2023
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

The product does not release or incorrectly releases a resource before it is made available for re-use.

Affected Software

Name Vendor Start Version End Version
Xml-conduit Haskell * 1.9.1.0 (excluding)
Haskell-xml-conduit Ubuntu bionic *
Haskell-xml-conduit Ubuntu esm-apps/bionic *
Haskell-xml-conduit Ubuntu esm-apps/focal *
Haskell-xml-conduit Ubuntu esm-apps/jammy *
Haskell-xml-conduit Ubuntu esm-apps/xenial *
Haskell-xml-conduit Ubuntu focal *
Haskell-xml-conduit Ubuntu jammy *
Haskell-xml-conduit Ubuntu trusty *
Haskell-xml-conduit Ubuntu upstream *
Haskell-xml-conduit Ubuntu xenial *

Potential Mitigations

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.

References