CVE-2020-35149: Code Injection in mquery
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.4913%
CWE
Published
12/18/2020
Updated
1/9/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mquery | npm | < 3.2.3 | 3.2.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows security fixes in both cloneObject and merge functions in lib/utils.js, adding checks for special properties. The vulnerability description explicitly mentions unsafe merge/clone operations, and the added test cases verify protection against proto pollution in these specific functions. The direct modification of these functions in the security patch confirms their vulnerability.