ghsa-p6mc-m468-83gw
Vulnerability from github
Published
2020-07-15 19:15
Modified
2023-10-24 20:06
Summary
Prototype Pollution in lodash
Details

Versions of lodash prior to 4.17.19 are vulnerable to Prototype Pollution. The functions pick, set, setWith, update, updateWith, and zipObjectDeep allow a malicious user to modify the prototype of Object if the property identifiers are user-supplied. Being affected by this issue requires manipulating objects based on user-provided property values or arrays.

This vulnerability causes the addition or modification of an existing property that will exist on all objects and may lead to Denial of Service or Code Execution under specific circumstances.

Show details on source website


{
  "affected": [
    {
      "ecosystem_specific": {
        "affected_functions": [
          "(lodash).pick",
          "(lodash).set",
          "(lodash).setWith",
          "(lodash).update",
          "(lodash).updateWith",
          "(lodash).zipObjectDeep"
        ]
      },
      "package": {
        "ecosystem": "npm",
        "name": "lodash"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.7.0"
            },
            {
              "fixed": "4.17.19"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "affected_functions": [
          "(lodash).pick",
          "(lodash).set",
          "(lodash).setWith",
          "(lodash).update",
          "(lodash).updateWith",
          "(lodash).zipObjectDeep"
        ]
      },
      "package": {
        "ecosystem": "npm",
        "name": "lodash-es"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.7.0"
            },
            {
              "fixed": "4.17.20"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "affected_functions": [
          "(lodash.pick)"
        ]
      },
      "package": {
        "ecosystem": "npm",
        "name": "lodash.pick"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.0.0"
            },
            {
              "last_affected": "4.4.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "affected_functions": [
          "(lodash.set)"
        ]
      },
      "package": {
        "ecosystem": "npm",
        "name": "lodash.set"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.7.0"
            },
            {
              "last_affected": "4.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "affected_functions": [
          "(lodash.setwith)"
        ]
      },
      "package": {
        "ecosystem": "npm",
        "name": "lodash.setwith"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "4.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "affected_functions": [
          "(lodash.update)"
        ]
      },
      "package": {
        "ecosystem": "npm",
        "name": "lodash.update"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "4.10.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "affected_functions": [
          "(lodash.updatewith)"
        ]
      },
      "package": {
        "ecosystem": "npm",
        "name": "lodash.updatewith"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "4.10.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2020-8203"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-1321",
      "CWE-770"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-07-15T19:14:58Z",
    "nvd_published_at": "2020-07-15T17:15:00Z",
    "severity": "HIGH"
  },
  "details": "Versions of lodash prior to 4.17.19 are vulnerable to Prototype Pollution. The functions `pick`, `set`, `setWith`, `update`, `updateWith`, and `zipObjectDeep` allow a malicious user to modify the prototype of Object if the property identifiers are user-supplied. Being affected by this issue requires manipulating objects based on user-provided property values or arrays.\n\nThis vulnerability causes the addition or modification of an existing property that will exist on all objects and may lead to Denial of Service or Code Execution under specific circumstances.",
  "id": "GHSA-p6mc-m468-83gw",
  "modified": "2023-10-24T20:06:48Z",
  "published": "2020-07-15T19:15:48Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8203"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lodash/lodash/issues/4744"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lodash/lodash/issues/4874"
    },
    {
      "type": "WEB",
      "url": "https://github.com/github/advisory-database/pull/2884"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lodash/lodash/commit/c84fe82760fb2d3e03a63379b297a1cc1a2fce12"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/712065"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/864701"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/lodash/lodash"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lodash/lodash/wiki/Changelog#v41719"
    },
    {
      "type": "WEB",
      "url": "https://security.netapp.com/advisory/ntap-20200724-0006"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20210914001339/https://github.com/lodash/lodash/issues/4744"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Prototype Pollution in lodash"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.