Description
CVE-2021-23434 - High Severity Vulnerability
Vulnerable Library - object-path-0.9.2.tgz
Access deep properties using a path
Library home page: https://registry.npmjs.org/object-path/-/object-path-0.9.2.tgz
Path to dependency file: /integration/dynamic-compiler/package.json
Path to vulnerable library: /integration/dynamic-compiler/node_modules/object-path/package.json,/integration/ng_elements/node_modules/object-path/package.json,/integration/hello_world__systemjs_umd/node_modules/object-path/package.json,/integration/hello_world__closure/node_modules/object-path/package.json,/integration/ngcc/node_modules/object-path/package.json,/integration/injectable-def/node_modules/object-path/package.json,/integration/i18n/node_modules/object-path/package.json
Dependency Hierarchy:
- lite-server-2.2.2.tgz (Root Library)
- browser-sync-2.26.7.tgz
- eazy-logger-3.0.2.tgz
- tfunk-3.1.0.tgz
- ❌ object-path-0.9.2.tgz (Vulnerable Library)
- tfunk-3.1.0.tgz
- eazy-logger-3.0.2.tgz
- browser-sync-2.26.7.tgz
Found in base branch: labs/router
Vulnerability Details
This affects the package object-path before 0.11.6. A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays. In particular, the condition currentPath === 'proto' returns false if currentPath is ['proto']. This is because the === operator returns always false when the type of the operands is different.
Publish Date: 2021-08-27
URL: CVE-2021-23434
CVSS 3 Score Details (8.6)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23434
Release Date: 2021-08-27
Fix Resolution (object-path): 0.11.6
Direct dependency fix Resolution (lite-server): 2.3.0
Step up your Open Source Security Game with Mend here