Description
A vulnerability, which was classified as critical, was found in hughsk flat up to 5.0.0. This affects the function unflatten of the file index.js. The manipulation leads to improperly controlled modification of object prototype attributes ('prototype pollution'). It is possible to initiate the attack remotely. Upgrading to version 5.0.1 is able to address this issue. The name of the patch is 20ef0ef55dfa028caddaedbcb33efbdb04d18e13. It is recommended to upgrade the affected component. The identifier VDB-216777 was assigned to this vulnerability.
References (6)
Core 6
Core References
Third Party Advisory vdb-entry
technical-description
https://vuldb.com/?id.216777
Third Party Advisory signature
permissions-required
https://vuldb.com/?ctiid.216777
Issue Tracking, Third Party Advisory issue-tracking
https://github.com/hughsk/flat/issues/105
Patch, Third Party Advisory issue-tracking
https://github.com/hughsk/flat/pull/106
Patch, Third Party Advisory patch
https://github.com/hughsk/flat/commit/20ef0ef55dfa028caddaedbcb33efbdb04d18e13
Release Notes, Third Party Advisory patch
https://github.com/hughsk/flat/releases/tag/5.0.1
Scores
CVSS v3
6.3
EPSS
0.0111
EPSS Percentile
61.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Details
CWE
CWE-1321
Status
published
Products (2)
flat_project/flat
< 5.0.1
npm/flat
0 - 1.6.2npm
Published
Dec 25, 2022
Tracked Since
Feb 18, 2026