CVE-2018-16490: Prototype Pollution in mpath
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.40867%
CWE
Published
2/7/2019
Updated
9/7/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mpath | npm | < 0.5.1 | 0.5.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in path traversal logic within set() and unset() functions. The patches add explicit checks to block modifications via 'proto', 'constructor', and 'prototype' path segments. In vulnerable versions, these functions would process malicious paths without validation, making them the direct entry points for prototype pollution. The profiler would show these functions handling attacker-controlled paths during exploitation.