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

GMS-2020-355: Prototype Pollution in lodash.mergewith

September 3, 2020 (updated September 29, 2021)

Versions of lodash.mergewith are vulnerable to prototype pollution. The function mergeWith 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-779f-wgxg-qr8f
  • www.npmjs.com/advisories/1071

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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.mergewith/GMS-2020-355.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:03 +0000.