Full stack solution using Vue.js, Azure Static Web Apps, Azure Function, Azure SQL Database and a microservice architecture to monitor in real-time public transportation data, create a geofence and send notification when geofence is activated
MIT License
0
stars
0
forks
source link
CVE-2021-21366 (Medium) detected in xmldom-0.4.0.tgz #3
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.
CVE-2021-21366 - Medium Severity Vulnerability
Vulnerable Library - xmldom-0.4.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.4.0.tgz
Path to dependency file: /azure-static-web-app/api/node/package.json
Path to vulnerable library: /azure-static-web-app/api/node/node_modules/xmldom/package.json,/azure-function/node/node_modules/xmldom/package.json
Dependency Hierarchy: - mssql-6.3.1.tgz (Root Library) - tedious-6.7.0.tgz - ms-rest-nodeauth-2.0.2.tgz - adal-node-0.1.28.tgz - :x: **xmldom-0.4.0.tgz** (Vulnerable Library)
Found in HEAD commit: d8bbbfe8f191f1751e93200422a47045cca6192f
Found in base branch: main
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: https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv
Release Date: 2021-03-12
Fix Resolution (xmldom): 0.5.0
Direct dependency fix Resolution (mssql): 6.3.2
Step up your Open Source Security Game with Mend here