SocketDev / wormhole-crypto

Streaming encryption for Wormhole.app, based on Encrypted Content-Encoding for HTTP (RFC 8188)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mend-bolt-for-github opened this issue · comments

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: wormhole-crypto/package.json

Path to vulnerable library: wormhole-crypto/node_modules/xmldom/package.json

Dependency Hierarchy:

  • airtap-system-0.1.0.tgz (Root Library)
    • the-last-browser-launcher-0.1.0.tgz
      • osx-find-executable-1.1.2.tgz
        • plist-2.1.0.tgz
          • xmldom-0.1.31.tgz (Vulnerable Library)

Found in HEAD commit: 044b4a0706f0fa4d200d65345c838045c2d5be48

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


Step up your Open Source Security Game with WhiteSource here

This issue is in a dev dependency for testing airtap and doesn't affect the package.