AlexRogalskiy / typescript-tools

Collection of TypeScript tools & utilities
GNU General Public License v3.0
2 stars 0 forks source link

CVE-2021-32796 (Medium) detected in xmldom-0.6.0.tgz #1511

Open mend-bolt-for-github[bot] opened 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2021-32796 - Medium Severity Vulnerability

Vulnerable Library - xmldom-0.6.0.tgz

A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.

Library home page: https://registry.npmjs.org/xmldom/-/xmldom-0.6.0.tgz

Path to dependency file: typescript-tools/package.json

Path to vulnerable library: /node_modules/xmldom/package.json

Dependency Hierarchy: - :x: **xmldom-0.6.0.tgz** (Vulnerable Library)

Found in HEAD commit: b8ae77bb59c17e50210c4d27908c3f903ddca323

Vulnerability Details

xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.6.0 and older do not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This issue has been resolved in version 0.7.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.

Publish Date: 2021-07-27

URL: CVE-2021-32796

CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/xmldom/xmldom/security/advisories/GHSA-5fg8-2547-mr8q

Release Date: 2021-07-27

Fix Resolution: xmldom - 0.7.0


Step up your Open Source Security Game with WhiteSource here

mend-bolt-for-github[bot] commented 3 years ago

:information_source: This issue was automatically closed by WhiteSource because it is a duplicate of an existing issue: #1512

github-actions[bot] commented 3 years ago

👋 Thanks for reporting!

github-actions[bot] commented 3 years ago

Sorry, friend. As far as this ol' bot can tell, your issue does not properly use one of this repo's available issue templates. Please try again, if you like. (And if I'm confused, please let us know. 😬)

Did you see the memo about this? (log)

github-actions[bot] commented 3 years ago

Thank you for your report, the issue you have reported has just been fixed.

mend-bolt-for-github[bot] commented 3 years ago

:information_source: This issue was automatically re-opened by WhiteSource because the vulnerable library in the specific branch(es) has been detected in the WhiteSource inventory.