Open mend-bolt-for-github[bot] opened 2 years 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.
CVE-2021-23343 - Medium Severity Vulnerability
Vulnerable Libraries - path-parse-1.0.6.tgz, path-parse-1.0.5.tgz
path-parse-1.0.6.tgz
Node.js path.parse() ponyfill
Library home page: https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz
Path to dependency file: /aws-node-graphql-api-with-dynamodb/package.json
Path to vulnerable library: /aws-node-graphql-api-with-dynamodb/node_modules/path-parse/package.json,/aws-node-typescript-nest/node_modules/path-parse/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/path-parse/package.json,/aws-node-typescript-sqs-standard/node_modules/path-parse/package.json,/aws-node-typescript-apollo-lambda/node_modules/path-parse/package.json,/aws-node-fullstack/frontend/node_modules/path-parse/package.json,/aws-node-typescript-kinesis/node_modules/path-parse/package.json,/aws-node-github-check/node_modules/path-parse/package.json,/node_modules/path-parse/package.json
Dependency Hierarchy: - serverless-offline-3.31.0.tgz (Root Library) - core-7.1.2.tgz - resolve-1.8.1.tgz - :x: **path-parse-1.0.6.tgz** (Vulnerable Library)
path-parse-1.0.5.tgz
Node.js path.parse() ponyfill
Library home page: https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz
Path to dependency file: /aws-node-oauth-dropbox-api/package.json
Path to vulnerable library: /aws-node-oauth-dropbox-api/node_modules/path-parse/package.json
Dependency Hierarchy: - eslint-plugin-import-2.12.0.tgz (Root Library) - resolve-1.7.1.tgz - :x: **path-parse-1.0.5.tgz** (Vulnerable Library)
Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4
Found in base branch: master
Vulnerability Details
All versions of package path-parse are vulnerable to Regular Expression Denial of Service (ReDoS) via splitDeviceRe, splitTailRe, and splitPathRe regular expressions. ReDoS exhibits polynomial worst-case time complexity.
Publish Date: 2021-05-04
URL: CVE-2021-23343
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: None - Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Release Date: 2021-05-04
Fix Resolution (path-parse): 1.0.7
Direct dependency fix Resolution (serverless-offline): 3.31.1
Fix Resolution (path-parse): 1.0.7
Direct dependency fix Resolution (eslint-plugin-import): 2.13.0
Step up your Open Source Security Game with Mend here