Skip to content

← Public intelligence

npm package

flat

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.8npmAmendedPublished

    flat vulnerable to Prototype Pollution

    CVE-2020-36632 · GHSA-2j2x-2gpw-g8fm

    Affected
    • npm flat < 1.6.2; >= 2.0.0, < 2.0.2; >= 3.0.0, <= 3.0.0; >= 4.0.0, < 4.0.2; >= 5.0.0, <= 5.0.0
    Fixed in
    4.0.23.0.15.0.12.0.21.6.2· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 5.0.1, 4.0.2, 3.0.1 or 2 more by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →