UBUNTU-CVE-2021-21366

Source
https://ubuntu.com/security/CVE-2021-21366
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-21366.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-21366
Related
Published
2021-03-12T17:15:00Z
Modified
2021-03-12T17:15:00Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.4.0 and older do not correctly preserve system identifiers, FPIs or namespaces when repeatedly parsing and serializing maliciously crafted documents. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This is fixed in version 0.5.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.

References

Affected packages

Ubuntu:20.04:LTS / node-xmldom

Package

Name
node-xmldom
Purl
pkg:deb/ubuntu/node-xmldom?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.1.27+ds-1+deb10u2build0.20.04.1

Affected versions

0.*

0.1.27+ds-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.1.27+ds-1+deb10u2build0.20.04.1",
            "binary_name": "node-xmldom"
        }
    ]
}

Ubuntu:22.04:LTS / node-xmldom

Package

Name
node-xmldom
Purl
pkg:deb/ubuntu/node-xmldom?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.5-1

Affected versions

0.*

0.5.0-1
0.7.3-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.7.5-1",
            "binary_name": "node-xmldom"
        }
    ]
}