Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. dset
  4. ›
  5. CVE-2024-21529

CVE-2024-21529: dset Prototype Pollution vulnerability

September 11, 2024

Versions of the package dset before 3.1.4 are vulnerable to Prototype Pollution via the dset function due improper user input sanitization. This vulnerability allows the attacker to inject malicious object property using the built-in Object property proto, which is recursively assigned to all the objects in the program.

References

  • github.com/advisories/GHSA-f6v4-cf5j-vf3w
  • github.com/lukeed/dset
  • github.com/lukeed/dset/commit/16d6154e085bef01e99f01330e5a421a7f098afa
  • nvd.nist.gov/vuln/detail/CVE-2024-21529
  • security.snyk.io/vuln/SNYK-JS-DSET-7116691

Code Behaviors & Features

Detect and mitigate CVE-2024-21529 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 3.1.4

Fixed versions

  • 3.1.4

Solution

Upgrade to version 3.1.4 or above.

Impact 8.2 HIGH

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

Learn more about CVSS

Weakness

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

Source file

npm/dset/CVE-2024-21529.yml

Spotted a mistake? Edit the file on GitLab.

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

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