logo

CVE-2021-23438 mpath

Package

Manager: npm
Name: mpath
Vulnerable Version: >=0 <0.8.4

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00518 pctl0.65792

Details

Type confusion in mpath This affects the package mpath before 0.8.4. A type confusion vulnerability can lead to a bypass of CVE-2018-16490. In particular, the condition `ignoreProperties.indexOf(parts[i]) !== -1` returns `-1` if `parts[i]` is `['__proto__']`. This is because the method that has been called if the input is an array is `Array.prototype.indexOf()` and not `String.prototype.indexOf()`. They behave differently depending on the type of the input.

Metadata

Created: 2021-09-02T22:02:25Z
Modified: 2023-09-07T18:41:16Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-p92x-r36w-9395/GHSA-p92x-r36w-9395.json
CWE IDs: ["CWE-843"]
Alternative ID: GHSA-p92x-r36w-9395
Finding: F113
Auto approve: 1