Open mend-for-github-com[bot] opened 1 year ago
:heavy_check_mark: 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.
: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.
: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.
CVE-2023-0842 - Medium Severity Vulnerability
Vulnerable Libraries - xml2js-0.4.23.tgz, xml2js-0.4.22.tgz
xml2js-0.4.23.tgz
Simple XML to JavaScript object converter.
Library home page: https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz
Path to dependency file: /lib/lambda/package.json
Path to vulnerable library: /lib/lambda/node_modules/xml2js/package.json
Dependency Hierarchy: - snyk-1.316.1.tgz (Root Library) - snyk-nuget-plugin-1.17.0.tgz - :x: **xml2js-0.4.23.tgz** (Vulnerable Library)
xml2js-0.4.22.tgz
Simple XML to JavaScript object converter.
Library home page: https://registry.npmjs.org/xml2js/-/xml2js-0.4.22.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/xml2js/package.json
Dependency Hierarchy: - aws-sdk-2.571.0.tgz (Root Library) - :x: **xml2js-0.4.22.tgz** (Vulnerable Library)
Found in base branch: master
Vulnerability Details
xml2js version 0.4.23 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the __proto__ property to be edited.
Publish Date: 2023-04-05
URL: CVE-2023-0842
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://www.cve.org/CVERecord?id=CVE-2023-0842
Release Date: 2023-04-05
Fix Resolution (xml2js): 0.5.0
Direct dependency fix Resolution (snyk): 1.685.0
Fix Resolution (xml2js): 0.5.0
Direct dependency fix Resolution (aws-sdk): 2.1354.0