{"id":"CVE-2020-36632","aliases":["CLSA-2026-1771546205","EUVD-2022-7475","GHSA-2j2x-2gpw-g8fm","ROOT-APP-NPM-CVE-2020-36632","UBUNTU-CVE-2020-36632"],"status":"published","title":"hughsk flat index.js unflatten prototype pollution","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.","severity":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01201,"percentile":0.68426,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1321"],"published":"2022-12-25T19:37:16Z","modified":"2026-10-20T10:53:27Z","fixes":[{"ecosystem":"npm","package":"flat","fixed_in":["1.6.2","2.0.2","3.0.1","4.0.2","5.0.1"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"flat","fixed_in":["2.0.1-tuxcare.1"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"@rootio/flat","fixed_in":["5.0.0-root.io.1"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"flat","fixed_in":["5.0.0-aikido.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"flat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.2"}]}]},{"source":"ghsa","ecosystem":"npm","package":"flat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.2"}]}]},{"source":"ghsa","ecosystem":"npm","package":"flat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"last_affected":"3.0.0"},{"fixed":"3.0.1"}]}],"versions":["3.0.0"]},{"source":"ghsa","ecosystem":"npm","package":"flat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.0.2"}]}]},{"source":"ghsa","ecosystem":"npm","package":"flat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"last_affected":"5.0.0"},{"fixed":"5.0.1"}]}],"versions":["5.0.0"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"flat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.1-tuxcare.0"},{"fixed":"2.0.1-tuxcare.1"}]}],"versions":["2.0.1"]},{"source":"osv","ecosystem":"npm","package":"flat","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.2"}]}]},{"source":"osv","ecosystem":"npm","package":"flat","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.0.2"}]}]},{"source":"osv","ecosystem":"npm","package":"flat","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.0.1"}]}],"versions":["3.0.0"]},{"source":"osv","ecosystem":"npm","package":"flat","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.0.2"}]}]},{"source":"osv","ecosystem":"npm","package":"flat","ranges":[{"type":"SEMVER","events":[{"introduced":"5.0.0"},{"fixed":"5.0.1"}]}],"versions":["5.0.0"]},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/flat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.0-root.io.1"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"flat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.0-aikido.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"qt6-webengine","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.2+dfsg-6ubuntu2","6.2.4+dfsg-1ubuntu1","6.2.4+dfsg-1ubuntu2","6.2.4+dfsg-6ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"qt6-webengine","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.4.2-final+dfsg-11","6.4.2-final+dfsg-12","6.4.2-final+dfsg-12build1","6.4.2-final+dfsg-12ubuntu1","6.4.2-final+dfsg-12ubuntu7","6.4.2-final+dfsg-12ubuntu9"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"qt6-webengine","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.8.3+dfsg-0ubuntu1","6.8.3+dfsg-0ubuntu2","6.9.2+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"qt6-webengine","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.10.2+dfsg-1","6.10.2+dfsg-4","6.10.2+dfsg-5","6.11.2+dfsg-3ubuntu1","6.11.2+dfsg-3ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"qt6-webengine","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.9.2+dfsg-2","6.9.2+dfsg-4","6.9.2+dfsg-4build1","6.9.2+dfsg-4build2","6.10.2+dfsg-1"]}],"products":[{"vendor":"flat_project","product":"flat"},{"vendor":"hughsk","product":"flat"}],"references":[{"url":"https://vuldb.com/?id.216777","tags":["vdb-entry","technical-description","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://vuldb.com/?ctiid.216777","tags":["signature","permissions-required","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/hughsk/flat/issues/105","tags":["issue-tracking","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/hughsk/flat/pull/106","tags":["issue-tracking","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://github.com/hughsk/flat/commit/20ef0ef55dfa028caddaedbcb33efbdb04d18e13","tags":["patch","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://github.com/hughsk/flat/releases/tag/5.0.1","tags":["patch","x_transferred","Release Notes","Third Party Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36632","tags":["advisory"]},{"url":"https://github.com/hughsk/flat/compare/3.0.0...3.0.1","tags":["web"]},{"url":"https://github.com/hughsk/flat/compare/4.1.0...4.1.1","tags":["web"]},{"url":"https://github.com/hughsk/flat/compare/v1.6.0...1.6.2","tags":["web"]},{"url":"https://github.com/hughsk/flat/compare/v2.0.1...2.0.2","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2j2x-2gpw-g8fm"},{"url":"https://github.com/hughsk/flat","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2020-36632","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-36632","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-36632","title":"hughsk flat index.js unflatten prototype pollution","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.","status":"published","published":"2022-12-25T19:37:16.959Z","modified":"2024-08-04T17:30:08.479Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"},{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:35:54.80237Z"}],"euvd":[{"id":"EUVD-2022-7475","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.","status":"published","published":"2022-12-25T19:37:16Z","modified":"2024-08-04T17:30:08Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-03T03:07:02.510914Z"}],"ghsa":[{"id":"GHSA-2j2x-2gpw-g8fm","title":"flat vulnerable to Prototype Pollution","description":"flat helps flatten/unflatten nested Javascript objects. 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 can 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.","status":"published","published":"2022-12-25T21:30:22Z","modified":"2026-01-21T14:45:12Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:39:18.564331Z"}],"nvd":[{"id":"CVE-2020-36632","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.","status":"published","published":"2022-12-25T20:15:25.287Z","modified":"2026-06-17T03:15:51.03Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:06:47.286386Z"}],"osv":[{"id":"CVE-2020-36632","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.","status":"published","published":"2022-12-25T20:15:25.287Z","modified":"2026-10-20T10:53:27.187175341Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:16.936975Z"},{"id":"GHSA-2j2x-2gpw-g8fm","title":"flat vulnerable to Prototype Pollution","description":"flat helps flatten/unflatten nested Javascript objects. 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 can 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.","status":"published","published":"2022-12-25T21:30:22Z","modified":"2026-02-03T03:16:54.193415Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T15:46:34.338541Z"},{"id":"UBUNTU-CVE-2020-36632","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.","status":"published","published":"2022-12-25T20:15:00Z","modified":"2026-10-17T12:56:14.618209916Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:25.179924Z"},{"id":"CLSA-2026-1771546205","title":"TuxCare security update for flat (1 CVE)","description":"TuxCare rebuilt flat to address 1 CVE. Fixed in 2.0.1-tuxcare.1.","status":"published","published":"2026-08-04T14:52:07Z","modified":"2026-10-15T09:47:46.308533587Z","updated_at":"2026-11-02T15:43:43.249928Z"},{"id":"ROOT-APP-NPM-CVE-2020-36632","title":"CVE-2020-36632 in @rootio/flat - Patched by Root","description":"Root has patched CVE-2020-36632 in the @rootio/flat package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-06-08T12:04:15Z","modified":"2026-06-08T20:15:09.583572381Z","updated_at":"2026-11-02T15:53:27.362922Z"}]}}
