CVE-2024-38988: @alizeait/unflatto Prototype Pollution
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.13625%
CWE
Published
4/1/2025
Updated
4/1/2025
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 |
|---|---|---|---|
| @alizeait/unflatto | npm | < 1.0.3 | 1.0.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The core vulnerability existed in the unflatto function's property assignment logic, which previously didn't validate keys for prototype pollution vectors. The security patch adds explicit checks for 'prototype', 'proto', and 'constructor' keys during the unflattening process. This function is directly referenced in all vulnerability reports and the CVE description as the entry point for prototype pollution. The commit diff shows critical security controls were added to this specific function, confirming it was the vulnerable component.