VDB

CVE-2020-36632

CVE-2020-36632 PUBLISHED CVSS 6.3 MEDIUM

hughsk flat index.js unflatten prototype pollution

Reported by vuldb · Published December 25, 2022

flat is fixed in 5.0.1, 4.0.2, 3.0.1 and 2 more (npm)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
flatnpm5.0.1, 4.0.2, 3.0.1, 2.0.2, 1.6.2
flatflat_project5.0.1

Risk scores

CVSS 3.1
6.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
hughskflat5.0
npmflat0, 2.0.0, 3.0.0
hughskflat5.0

Timeline

  • Dec 25, 2022 CVE Published
  • Dec 26, 2022 EPSS Score (30 in total, the first dated here)
  • Jan 21, 2026 CVE Updated
  • Mar 9, 2026 Security Advisory
  • Aug 30, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-36632
vulnetix vdb fixes CVE-2020-36632

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-36632/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›