CVE-2024-30564: @andrei-tatar/nora-firebase-common Prototype Pollution vulnerability
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.8768%
CWE
Published
4/18/2024
Updated
4/18/2024
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| @andrei-tatar/nora-firebase-common | npm | >= 1.0.41, < 1.12.3 | 1.12.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from updateStateInternal's key iteration logic. The pre-patch code lacked checks for prototype-pollution vectors (proto/constructor/prototype) when recursively merging objects. The commit explicitly adds an 'ignoreKeys' filter to address this, and the test case confirms the fix by verifying proto manipulation is blocked. The CVE description and PoC both target this function's handling of the 'update' parameter, making it the clear entry point for the exploit.