CVE-2020-36632
hughsk flat index.js unflatten prototype pollution
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
6.3
hughsk flat index.js unflatten prototype pollution
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.
- Record
CVE-2020-36632- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - CVSS 3.0
- 6.3 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-1321
- Updated
- 2026-11-02
EUVDEUVD-2022-7475
6.3
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.
- Record
EUVD-2022-7475- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2j2x-2gpw-g8fm
9.8
flat vulnerable to Prototype Pollution
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.
- Record
GHSA-2j2x-2gpw-g8fm- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1321
- Updated
- 2026-11-02
NVD
6.3
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.
- Record
CVE-2020-36632- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1321
- Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2020-36632- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-2j2x-2gpw-g8fm
9.8
flat vulnerable to Prototype Pollution
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.
- Record
GHSA-2j2x-2gpw-g8fm- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1321
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-36632
6.3
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.
- Record
UBUNTU-CVE-2020-36632- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1771546205 No score
TuxCare security update for flat (1 CVE)
TuxCare rebuilt flat to address 1 CVE. Fixed in 2.0.1-tuxcare.1.
- Record
CLSA-2026-1771546205- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2020-36632 No score
CVE-2020-36632 in @rootio/flat - Patched by Root
Root has patched CVE-2020-36632 in the @rootio/flat package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2020-36632- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
flatnpm |
before 1.6.2 | 1.6.2 |
flatnpm |
2.0.0 up to 2.0.2 | 2.0.2 |
flatnpm |
3.0.0 to 3.0.0 | 3.0.1 |
flatnpm |
4.0.0 up to 4.0.2 | 4.0.2 |
flatnpm |
5.0.0 to 5.0.0 | 5.0.1 |
flatTuxCare:npm |
2.0.1-tuxcare.0 up to 2.0.1-tuxcare.1, plus listed versions 2.0.1 |
2.0.1-tuxcare.1 |
flatnpm |
3.0.0 up to 3.0.1 | 3.0.1 |
flatnpm |
5.0.0 up to 5.0.1 | 5.0.1 |
@rootio/flatRoot:npm |
before 5.0.0-root.io.1 | 5.0.0-root.io.1 |
flatRoot:npm |
before 5.0.0-aikido.1 | 5.0.0-aikido.1 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
qt6-webengineUbuntu:22.04:LTS |
All versions, plus listed versions 6.2.2+dfsg-6ubuntu26.2.4+dfsg-1ubuntu16.2.4+dfsg-1ubuntu26.2.4+dfsg-6ubuntu1 |
None known |
qt6-webengineUbuntu:24.04:LTS |
All versions, plus listed versions 6.4.2-final+dfsg-116.4.2-final+dfsg-126.4.2-final+dfsg-12build16.4.2-final+dfsg-12ubuntu16.4.2-final+dfsg-12ubuntu76.4.2-final+dfsg-12ubuntu9 |
None known |
qt6-webengineUbuntu:25.10 |
All versions, plus listed versions 6.8.3+dfsg-0ubuntu16.8.3+dfsg-0ubuntu26.9.2+dfsg-2 |
None known |
qt6-webengineUbuntu:26.10 |
All versions, plus listed versions 6.10.2+dfsg-16.10.2+dfsg-46.10.2+dfsg-56.11.2+dfsg-3ubuntu16.11.2+dfsg-3ubuntu2 |
None known |
qt6-webengineUbuntu:26.04:LTS |
All versions, plus listed versions 6.9.2+dfsg-26.9.2+dfsg-46.9.2+dfsg-4build16.9.2+dfsg-4build26.10.2+dfsg-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-36632 is a medium vulnerability (CVSS 6.3) in Flat Project Flat, published December 25, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.20%, the 68th percentile. Fixed in flat 1.6.2.
References
vuldb.com?id.216777
vuldb.com?ctiid.216777
github.com/hughsk/flat/issues/105
github.com/hughsk/flat/pull/106
github.com/hughsk/flat/commit/20ef0ef55dfa028caddaedbcb33efbdb04d18e13
github.com/hughsk/flat/releases/tag/5.0.1
Show 9 moreShow less
nvd.nist.gov/vuln/detail/CVE-2020-36632
github.com/hughsk/flat/compare/3.0.0...3.0.1
github.com/hughsk/flat/compare/4.1.0...4.1.1
github.com/hughsk/flat/compare/v1.6.0...1.6.2
github.com/hughsk/flat/compare/v2.0.1...2.0.2
github.com/advisories/GHSA-2j2x-2gpw-g8fm
github.com/hughsk/flat
ubuntu.com/security/CVE-2020-36632
cve.org/CVERecord?id=CVE-2020-36632