gsd-2021-21366
Vulnerability from gsd
Modified
2023-12-13 01:23
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.
Aliases
Aliases
{ GSD: { alias: "CVE-2021-21366", description: "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.", id: "GSD-2021-21366", }, gsd: { metadata: { exploitCode: "unknown", remediation: "unknown", reportConfidence: "confirmed", type: "vulnerability", }, osvSchema: { aliases: [ "CVE-2021-21366", ], 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.", id: "GSD-2021-21366", modified: "2023-12-13T01:23:11.263581Z", schema_version: "1.4.0", }, }, namespaces: { "cve.org": { CVE_data_meta: { ASSIGNER: "security-advisories@github.com", ID: "CVE-2021-21366", STATE: "PUBLIC", TITLE: "Misinterpretation of malicious XML input", }, affects: { vendor: { vendor_data: [ { product: { product_data: [ { product_name: "xmldom", version: { version_data: [ { version_value: "< 0.5.0", }, ], }, }, ], }, vendor_name: "xmldom", }, ], }, }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { lang: "eng", value: "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.", }, ], }, impact: { cvss: { attackComplexity: "LOW", attackVector: "NETWORK", availabilityImpact: "NONE", baseScore: 4.3, baseSeverity: "MEDIUM", confidentialityImpact: "NONE", integrityImpact: "LOW", privilegesRequired: "NONE", scope: "UNCHANGED", userInteraction: "REQUIRED", vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", version: "3.1", }, }, problemtype: { problemtype_data: [ { description: [ { lang: "eng", value: "CWE-436 Interpretation Conflict", }, ], }, { description: [ { lang: "eng", value: "CWE-115: Misinterpretation of Input", }, ], }, ], }, references: { reference_data: [ { name: "https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv", refsource: "CONFIRM", url: "https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv", }, { name: "https://www.npmjs.com/package/xmldom", refsource: "MISC", url: "https://www.npmjs.com/package/xmldom", }, { name: "https://github.com/xmldom/xmldom/releases/tag/0.5.0", refsource: "MISC", url: "https://github.com/xmldom/xmldom/releases/tag/0.5.0", }, { name: "https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135", refsource: "MISC", url: "https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135", }, { name: "[debian-lts-announce] 20230101 [SECURITY] [DLA 3260-1] node-xmldom security update", refsource: "MLIST", url: "https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html", }, ], }, source: { advisory: "GHSA-h6q6-9hqw-rwfv", discovery: "UNKNOWN", }, }, "gitlab.com": { advisories: [ { affected_range: "<0.5.0", affected_versions: "All versions before 0.5.0", cvss_v2: "AV:N/AC:M/Au:N/C:N/I:P/A:N", cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", cwe_ids: [ "CWE-1035", "CWE-436", "CWE-937", ], date: "2023-02-28", description: "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.", fixed_versions: [ "0.7.0", ], identifier: "CVE-2021-21366", identifiers: [ "CVE-2021-21366", "GHSA-h6q6-9hqw-rwfv", ], not_impacted: "All versions starting from 0.5.0", package_slug: "npm/@xmldom/xmldom", pubdate: "2021-03-12", solution: "Upgrade to version 0.7.0 or above.", title: "Interpretation Conflict", urls: [ "https://nvd.nist.gov/vuln/detail/CVE-2021-21366", "https://github.com/xmldom/xmldom/releases/tag/0.5.0", "https://www.npmjs.com/package/xmldom", "https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135", "https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv", ], uuid: "3eb6e911-1ede-42eb-ae94-f36e86afd57e", }, { affected_range: "<0.5.0", affected_versions: "All versions before 0.5.0", cvss_v2: "AV:N/AC:M/Au:N/C:N/I:P/A:N", cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", cwe_ids: [ "CWE-1035", "CWE-436", "CWE-937", ], date: "2023-02-28", description: "xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.As a workaround downstream applications can validate the input and reject the maliciously crafted documents.", fixed_versions: [ "0.5.0", ], identifier: "CVE-2021-21366", identifiers: [ "CVE-2021-21366", "GHSA-h6q6-9hqw-rwfv", ], not_impacted: "All versions starting from 0.5.0", package_slug: "npm/xmldom", pubdate: "2021-03-12", solution: "Upgrade to version 0.5.0 or above.", title: "Interpretation Conflict", urls: [ "https://nvd.nist.gov/vuln/detail/CVE-2021-21366", ], uuid: "b68475a6-317d-4e73-bcfe-4fb57baa6b92", }, ], }, "nvd.nist.gov": { configurations: { CVE_data_version: "4.0", nodes: [ { children: [], cpe_match: [ { cpe23Uri: "cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*", cpe_name: [], versionEndExcluding: "0.5.0", vulnerable: true, }, ], operator: "OR", }, { children: [], cpe_match: [ { cpe23Uri: "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*", cpe_name: [], vulnerable: true, }, ], operator: "OR", }, ], }, cve: { CVE_data_meta: { ASSIGNER: "security-advisories@github.com", ID: "CVE-2021-21366", }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { lang: "en", value: "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.", }, ], }, problemtype: { problemtype_data: [ { description: [ { lang: "en", value: "CWE-436", }, { lang: "en", value: "CWE-115", }, ], }, ], }, references: { reference_data: [ { name: "https://github.com/xmldom/xmldom/releases/tag/0.5.0", refsource: "MISC", tags: [ "Release Notes", ], url: "https://github.com/xmldom/xmldom/releases/tag/0.5.0", }, { name: "https://www.npmjs.com/package/xmldom", refsource: "MISC", tags: [ "Product", ], url: "https://www.npmjs.com/package/xmldom", }, { name: "https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135", refsource: "MISC", tags: [ "Patch", ], url: "https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135", }, { name: "https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv", refsource: "CONFIRM", tags: [ "Vendor Advisory", ], url: "https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv", }, { name: "[debian-lts-announce] 20230101 [SECURITY] [DLA 3260-1] node-xmldom security update", refsource: "MLIST", tags: [ "Mailing List", "Third Party Advisory", ], url: "https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html", }, ], }, }, impact: { baseMetricV2: { acInsufInfo: false, cvssV2: { accessComplexity: "MEDIUM", accessVector: "NETWORK", authentication: "NONE", availabilityImpact: "NONE", baseScore: 4.3, confidentialityImpact: "NONE", integrityImpact: "PARTIAL", vectorString: "AV:N/AC:M/Au:N/C:N/I:P/A:N", version: "2.0", }, exploitabilityScore: 8.6, impactScore: 2.9, obtainAllPrivilege: false, obtainOtherPrivilege: false, obtainUserPrivilege: false, severity: "MEDIUM", userInteractionRequired: true, }, baseMetricV3: { cvssV3: { attackComplexity: "LOW", attackVector: "NETWORK", availabilityImpact: "NONE", baseScore: 4.3, baseSeverity: "MEDIUM", confidentialityImpact: "NONE", integrityImpact: "LOW", privilegesRequired: "NONE", scope: "UNCHANGED", userInteraction: "REQUIRED", vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", version: "3.1", }, exploitabilityScore: 2.8, impactScore: 1.4, }, }, lastModifiedDate: "2023-02-28T19:24Z", publishedDate: "2021-03-12T17:15Z", }, }, }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.