Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS0yajJ4LTJncHctZzhmbc4AAwl4
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.
Permalink: https://github.com/advisories/GHSA-2j2x-2gpw-g8fmJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yajJ4LTJncHctZzhmbc4AAwl4
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 1 year ago
Updated: about 1 year ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-2j2x-2gpw-g8fm, CVE-2020-36632
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-36632
- https://github.com/hughsk/flat/issues/105
- https://github.com/hughsk/flat/pull/106
- https://github.com/hughsk/flat/commit/20ef0ef55dfa028caddaedbcb33efbdb04d18e13
- https://github.com/hughsk/flat/releases/tag/5.0.1
- https://vuldb.com/?ctiid.216777
- https://vuldb.com/?id.216777
- https://github.com/advisories/GHSA-2j2x-2gpw-g8fm
Blast Radius: 55.3
Affected Packages
npm:flat
Dependent packages: 2,250Dependent repositories: 441,511
Downloads: 55,448,217 last month
Affected Version Ranges: < 5.0.1
Fixed in: 5.0.1
All affected versions: 0.0.1, 0.0.2, 0.1.0, 0.2.0, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 2.0.0, 2.0.1, 2.0.2, 3.0.0, 3.0.1, 4.0.0, 4.1.0, 4.1.1, 5.0.0
All unaffected versions: 5.0.1, 5.0.2, 6.0.0, 6.0.1