gmright2 / DEFOLD_Gmright_INLINE

MIT License
0 stars 5 forks source link

CVE-2021-32796 (Medium) detected in xmldom-0.1.31.tgz, xmldom-0.1.27.tgz #139

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

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

CVE-2021-32796 - Medium Severity Vulnerability

Vulnerable Libraries - xmldom-0.1.31.tgz, xmldom-0.1.27.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: /Gmright/cordova-plugin-camera-preview-master (1)/cordova-plugin-camera-preview-master/package.json

Path to vulnerable library: /Gmright/cordova-plugin-camera-preview-master (1)/cordova-plugin-camera-preview-master/node_modules/xmldom/package.json,/Gmright/cordova-plugin-camera-preview-master (1)/cordova-plugin-camera-preview-master/node_modules/xmldom/package.json

Dependency Hierarchy: - cordova-9.0.0.tgz (Root Library) - cordova-common-3.2.1.tgz - plist-3.0.1.tgz - :x: **xmldom-0.1.31.tgz** (Vulnerable Library)

xmldom-0.1.27.tgz

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

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

Path to dependency file: /Gmright/Milestones/Gmright-market/cordova-plugin-purchase-master/cordova-plugin-purchase-master/package.json

Path to vulnerable library: /Gmright/Milestones/Gmright-market/cordova-plugin-purchase-master/cordova-plugin-purchase-master/node_modules/xmldom/package.json,/Gmright/Milestones/Gmright-market/cordova-plugin-purchase-master/cordova-plugin-purchase-master/node_modules/xmldom/package.json

Dependency Hierarchy: - cordova-6.5.0.tgz (Root Library) - cordova-common-2.0.0.tgz - plist-1.2.0.tgz - :x: **xmldom-0.1.27.tgz** (Vulnerable Library)

Found in HEAD commit: 38ca8e4f9b8cdbfb059dcdeec3d6283b57fb6dff

Found in base branch: master

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: https://github.com/xmldom/xmldom/security/advisories/GHSA-5fg8-2547-mr8q

Release Date: 2021-07-27

Fix Resolution: @xmldom/xmldom - 0.7.0


Step up your Open Source Security Game with Mend here

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

:heavy_check_mark: 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[bot] commented 3 months ago

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