Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mend-bolt-for-github bot opened this issue Nov 10, 2021 · 4 comments
Closed

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

mend-bolt-for-github bot opened this issue Nov 10, 2021 · 4 comments

Comments

@mend-bolt-for-github
Copy link

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:

  • xmldom-0.6.0.tgz (Vulnerable Library)

Found in HEAD commit: 226a5046b7d9787b1413c3d643a8bb33402c5a04

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 (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: 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

@github-actions
Copy link

👋 Thanks for reporting!

@github-actions
Copy link

This issue is potentially a duplicate of one of the following issues:

@github-actions
Copy link

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
Copy link

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://github.com/AlexRogalskiy/typescript-tools/blob/master/.github/ISSUE_TEMPLATE/bug_report.md), and link to this old issue if necessary.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants