Vulnerability · Published Dec 25, 2022 · Assigned by VulDB
CVE-2020-36632hughsk flat index.js unflatten prototype pollution
Medium 6.3
In plain English
A medium-severity prototype pollution in flat from hughsk. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | qt6-webengine | no fix listed | UBUNTU-CVE-2020-36632 |
| Ubuntu:24.04:LTS | qt6-webengine | no fix listed | UBUNTU-CVE-2020-36632 |
| Ubuntu:25.10 | qt6-webengine | no fix listed | UBUNTU-CVE-2020-36632 |
| Ubuntu:26.04:LTS | qt6-webengine | no fix listed | UBUNTU-CVE-2020-36632 |
| Ubuntu:26.10 | qt6-webengine | no fix listed | UBUNTU-CVE-2020-36632 |
| npm | flat | 5.0.1 | GHSA-2j2x-2gpw-g8fm |
| npm | flat | 4.0.2 | GHSA-2j2x-2gpw-g8fm |
| npm | flat | 3.0.1 | GHSA-2j2x-2gpw-g8fm |
| npm | flat | 2.0.2 | GHSA-2j2x-2gpw-g8fm |
| npm | flat | 1.6.2 | GHSA-2j2x-2gpw-g8fm |
Affected products (as reported)
Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- https://vuldb.com/?id.216777 vdb-entry, technical-description
- https://vuldb.com/?ctiid.216777 signature, permissions-required
- https://github.com/hughsk/flat/issues/105 issue-tracking
- https://github.com/hughsk/flat/pull/106 issue-tracking
- https://github.com/hughsk/flat/commit/20ef0ef55dfa028caddaedbcb33efbdb04d18e13 patch
- https://github.com/hughsk/flat/releases/tag/5.0.1 patch