Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @ndhoule/defaults
  4. ›
  5. CVE-2024-57066

CVE-2024-57066: @ndhoule/defaults prototype pollution

February 6, 2025

A prototype pollution in the lib.deep function of @ndhoule/defaults v2.0.1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.

References

  • gist.github.com/tariqhawis/8ee7327cc8b78df738cd32505cbbbd44
  • github.com/advisories/GHSA-79h2-v6hh-wq23
  • github.com/ndhoule/defaults
  • nvd.nist.gov/vuln/detail/CVE-2024-57066

Code Behaviors & Features

Detect and mitigate CVE-2024-57066 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 up to 2.0.1

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/@ndhoule/defaults/CVE-2024-57066.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:44 +0000.