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.
Remediation
References
https://github.com/hughsk/flat/commit/20ef0ef55dfa028caddaedbcb33efbdb04d18e13
https://github.com/hughsk/flat/issues/105
https://github.com/hughsk/flat/pull/106
https://github.com/hughsk/flat/releases/tag/5.0.1
https://vuldb.com/?ctiid.216777
https://vuldb.com/?id.216777
Related Vulnerabilities
CVE-2021-25913 Vulnerability in npm package set-or-get
CVE-2020-9480 Vulnerability in maven package org.apache.spark:spark-network-common_2.10
CVE-2023-47324 Vulnerability in maven package org.silverpeas.core:silverpeas-core-rs
CVE-2018-1000123 Vulnerability in npm package cordova-plugin-ios-keychain
CVE-2019-17267 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind