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-21366 (Medium) detected in xmldom-0.1.31.tgz - autoclosed #59

Closed
mend-bolt-for-github bot opened this issue Mar 24, 2021 · 5 comments · Fixed by #475
Closed

CVE-2021-21366 (Medium) detected in xmldom-0.1.31.tgz - autoclosed #59

mend-bolt-for-github bot opened this issue Mar 24, 2021 · 5 comments · Fixed by #475
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Mar 24, 2021

CVE-2021-21366 - Medium Severity Vulnerability

Vulnerable Library - 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: /package.json

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

Dependency Hierarchy:

  • jasmine-3.2.2.tgz (Root Library)
    • jasmine-reporters-2.3.2.tgz
      • xmldom-0.1.31.tgz (Vulnerable Library)

Found in HEAD commit: 42226b16f150933b32ae8dacd2e30b740cd65f79

Found in base branch: master

Vulnerability 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.

Publish Date: 2021-03-12

URL: CVE-2021-21366

CVSS 3 Score Details (4.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • 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-h6q6-9hqw-rwfv

Release Date: 2021-03-12

Fix Resolution (xmldom): 0.5.0

Direct dependency fix Resolution (@bazel/jasmine): 3.2.3


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Mar 24, 2021
@mend-bolt-for-github
Copy link
Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

1 similar comment
@mend-bolt-for-github
Copy link
Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-21366 (Medium) detected in xmldom-0.1.31.tgz CVE-2021-21366 (Medium) detected in xmldom-0.1.31.tgz - autoclosed Jul 6, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-21366 (Medium) detected in xmldom-0.1.31.tgz CVE-2021-21366 (Medium) detected in xmldom-0.1.31.tgz - autoclosed Jul 6, 2021
@mend-bolt-for-github
Copy link
Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-21366 (Medium) detected in xmldom-0.1.31.tgz - autoclosed CVE-2021-21366 (Medium) detected in xmldom-0.1.31.tgz Sep 9, 2021
@mend-bolt-for-github mend-bolt-for-github bot reopened this Sep 9, 2021
@mend-bolt-for-github
Copy link
Author

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

@mend-bolt-for-github
Copy link
Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-21366 (Medium) detected in xmldom-0.1.31.tgz CVE-2021-21366 (Medium) detected in xmldom-0.1.31.tgz - autoclosed Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
0 participants