CVE-2020-36632
Npm vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Npm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Npm runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2020-36632
- 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
- vuldb.com/?ctiid.216777
- vuldb.com/?id.216777
- github.com/hughsk/flat/compare/3.0.0...3.0.1
- nvd.nist.gov/vuln/detail/CVE-2020-36632
- cve.org/CVERecord?id=CVE-2020-36632
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.