Packages / dset / Security

HighVulnerabilityGHSA-f6v4-cf5j-vf3wCVE-2024-21529Published 11 Sep 2024

dset Prototype Pollution vulnerability

Your version

Affected releases · dset

  • 3.x3.0.0 – 3.1.3Fixed in 3.1.4
  • 2.x and older0.0.0 – 2.1.0No fix, no longer updated

On 3.x, the newest line:

npm install dset@3.1.4
Every release on a timeline
3.x
  1. Affected

    3.0.0 – 3.1.3

    5 releases

  2. Fixed

    3.1.4

    1 release, latest

2.x
  1. Affected

    2.0.0 – 2.1.0

    3 releases

1.x
  1. Affected

    1.0.0 – 1.0.1

    2 releases

0.x
  1. Affected

    0.0.0

    1 release

12 stable releases of dset, oldest to newest, one row per major.

What happens

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.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.