CVE-2020-36632
flat vulnerable to Prototype Pollution
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | flat | 1.6.2, 2.0.2, 3.0.1, 4.0.2, 5.0.1 |
| rapidfort ubuntu 20.04 | chromium-browser | no fix listed |
| rapidfort ubuntu 22.04 | chromium-browser | no fix listed |
| rapidfort ubuntu 24.04 | chromium-browser | no fix listed |
References
- https://github.com/hughsk/flat
- https://github.com/hughsk/flat/commit/20ef0ef55dfa028caddaedbcb33efbdb04d18e13
- https://github.com/hughsk/flat/compare/3.0.0...3.0.1
- https://github.com/hughsk/flat/compare/4.1.0...4.1.1
- https://github.com/hughsk/flat/compare/v1.6.0...1.6.2
- https://github.com/hughsk/flat/compare/v2.0.1...2.0.2
- https://github.com/hughsk/flat/issues/105
- https://github.com/hughsk/flat/pull/106