Advisory

UBUNTU-CVE-2021-21366

Also known as: CVE-2021-21366

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Dates

Published
2021-03-12 17:15 UTC
Modified
2026-02-04 02:24 UTC

Affected packages and fixes

node-xmldom

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 0.1.27+ds-1+deb10u2build0.20.04.1 (ecosystem)

Fixed versions

0.1.27+ds-1+deb10u2build0.20.04.1

Fix

  • Fixed version 0.1.27+ds-1+deb10u2build0.20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences