CVE-2023-3696:
Mongoose Prototype Pollution vulnerability
10
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.42777%
CWE
Published
7/17/2023
Updated
11/29/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mongoose | npm | >= 7.0.0, < 7.3.3 | 7.3.3 |
mongoose | npm | >= 6.0.0, < 6.11.3 | 6.11.3 |
mongoose | npm | < 5.13.20 | 5.13.20 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability was explicitly patched by adding checks for 'proto' and 'constructor' keys in the _init function within lib/document.js. The commit message, CWE-1321 classification, and test case demonstrating prototype pollution via $rename operations confirm this was the entry point. The attack vector involved document initialization not properly sanitizing special property names that could modify the prototype chain.