Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. lodash.merge
  4. ›
  5. GMS-2020-353

GMS-2020-353: Prototype Pollution in lodash.merge

September 3, 2020 (updated September 28, 2021)

Versions of lodash.merge are vulnerable to prototype pollution. The function merge may allow a malicious user to modify the prototype of Object via {constructor: {prototype: {...}}} causing the addition or modification of an existing property that will exist on all objects.

Update to or later.

References

  • github.com/advisories/GHSA-h726-x36v-rx45
  • www.npmjs.com/advisories/1066

Code Behaviors & Features

Detect and mitigate GMS-2020-353 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.6.2

Fixed versions

  • 4.6.2

Solution

Upgrade to version 4.6.2 or above.

Source file

npm/lodash.merge/GMS-2020-353.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:41 +0000.