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

GMS-2020-350: Prototype Pollution in lodash.defaultsdeep

September 3, 2020 (updated September 29, 2021)

Versions of lodash.defaultsdeep are vulnerable to Prototype Pollution. The function ‘defaultsDeep’ may allow a malicious user to modify the prototype of Object via __proto__ causing the addition or modification of an existing property that will exist on all objects.

Update to or later.

References

  • github.com/advisories/GHSA-46fh-8fc5-xcwx
  • www.npmjs.com/advisories/1070

Code Behaviors & Features

Detect and mitigate GMS-2020-350 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.1

Fixed versions

  • 4.6.1

Solution

Upgrade to version 4.6.1 or above.

Source file

npm/lodash.defaultsdeep/GMS-2020-350.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:47 +0000.