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.1.31.tgz, xmldom-0.1.16.tgz #386

Open
mend-for-github-com bot opened this issue Jul 29, 2021 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jul 29, 2021

CVE-2021-32796 - Medium Severity Vulnerability

Vulnerable Libraries - xmldom-0.1.31.tgz, xmldom-0.1.16.tgz

xmldom-0.1.31.tgz

A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).

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

Path to dependency file: cloud-pipeline/cloud-pipeline-webdav-client/package.json

Path to vulnerable library: cloud-pipeline/cloud-pipeline-webdav-client/node_modules/xmldom/package.json

Dependency Hierarchy:

  • cli-6.0.0-beta.54.tgz (Root Library)
    • core-6.0.0-beta.54.tgz
      • electron-packager-15.2.0.tgz
        • plist-3.0.1.tgz
          • xmldom-0.1.31.tgz (Vulnerable Library)
xmldom-0.1.16.tgz

A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).

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

Path to dependency file: cloud-pipeline/data-sharing-service/client/package.json

Path to vulnerable library: cloud-pipeline/data-sharing-service/client/node_modules/xmldom/package.json

Dependency Hierarchy:

  • cssnext-1.8.4.tgz (Root Library)
    • postcss-url-4.0.1.tgz
      • directory-encoder-0.6.1.tgz
        • img-stats-0.4.2.tgz
          • xmldom-0.1.16.tgz (Vulnerable Library)

Found in base branch: develop

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

@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants