{"id":"CVE-2020-36632","published":"2022-12-25T19:37:16Z","modified":"2024-08-04T17:30:08Z","title":"hughsk flat index.js unflatten prototype pollution","vendor":"hughsk","product":"flat","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01201,"percentile":0.68956,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://vuldb.com/?id.216777","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.216777","tags":["signature","permissions-required"]},{"url":"https://github.com/hughsk/flat/issues/105","tags":["issue-tracking"]},{"url":"https://github.com/hughsk/flat/pull/106","tags":["issue-tracking"]},{"url":"https://github.com/hughsk/flat/commit/20ef0ef55dfa028caddaedbcb33efbdb04d18e13","tags":["patch"]},{"url":"https://github.com/hughsk/flat/releases/tag/5.0.1","tags":["patch"]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":13.79},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"hughsk","affectedVersions":[{"vendor":"hughsk","product":"flat","versions":["5.0"]}],"affected":[{"ecosystem":"npm","package":"flat","vulnerableRanges":["<1.6.2",">=2.0.0, <2.0.2",">=3.0.0, <3.0.1",">=4.0.0, <4.0.2",">=5.0.0, <5.0.1"],"patched":["1.6.2","2.0.2","3.0.1","4.0.2","5.0.1"],"from":["GHSA-2j2x-2gpw-g8fm"],"provenance":"source"}],"summary":{"text":"The flaw is an improperly controlled modification of object prototype attributes, known as prototype pollution, in the unflatten function of index.js in the hughsk flat package, affecting versions up to 5.0.0. An attacker can exploit it remotely, with low attack complexity and only low privileges required, and no user interaction, by manipulating input processed by unflatten.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:46Z"},"euvd":{"id":"EUVD-2022-7475","exploited":false,"provenance":"source"}}