Bug 2210851 (CVE-2021-21366) - CVE-2021-21366 xmldom: incorrect parsing and serialization leads to unexpected behavior
Summary: CVE-2021-21366 xmldom: incorrect parsing and serialization leads to unexpecte...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-21366
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2210852 2210853
Blocks: 2209798
TreeView+ depends on / blocked
 
Reported: 2023-05-29 18:23 UTC by Anten Skrabec
Modified: 2023-05-31 02:44 UTC (History)
4 users (show)

Fixed In Version: xmldom 0.5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-31 02:44:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Anten Skrabec 2023-05-29 18:23:27 UTC
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.

Comment 1 Anten Skrabec 2023-05-29 18:27:18 UTC
Created breeze-icon-theme tracking bugs for this issue:

Affects: epel-8 [bug 2210853]
Affects: fedora-all [bug 2210852]

Comment 3 Product Security DevOps Team 2023-05-31 02:44:50 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-21366


Note You need to log in before you can comment on or make changes to this bug.