---
title: "GHSA-f6v4-cf5j-vf3w: dset Prototype Pollution vulnerability"
description: "High severity. dset Prototype Pollution vulnerability. Affects dset; fixed in 3.1.4."
url: https://inlinr.com/advisories/GHSA-f6v4-cf5j-vf3w
lang: en
---

[Packages](https://inlinr.com/packages) / [dset](https://inlinr.com/packages/dset) / [Security](https://inlinr.com/packages/dset/security)

High Vulnerability GHSA-f6v4-cf5j-vf3w CVE-2024-21529 Published 11 Sep 2024

# dset Prototype Pollution vulnerability

Your version 

Affected releases · [dset](https://inlinr.com/packages/dset)

- 3.x 3.0.0 – 3.1.3 Fixed in 3.1.4
- 2.x and older 0.0.0 – 2.1.0 No 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.

## How it is exploited

Exploitable over the network, with no account and no action from a user.

- **Confidentiality**: none
- **Integrity**: high
- **Availability**: low

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

## References

- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-21529 "https://nvd.nist.gov/vuln/detail/CVE-2024-21529")  
nvd.nist.gov/vuln/detail/CVE-2024-21529
- [Fix commit](https://github.com/lukeed/dset/commit/16d6154e085bef01e99f01330e5a421a7f098afa "https://github.com/lukeed/dset/commit/16d6154e085bef01e99f01330e5a421a7f098afa")  
16d6154
- [Package](https://github.com/lukeed/dset "https://github.com/lukeed/dset")  
github.com/lukeed/dset
- [Reference](https://security.snyk.io/vuln/SNYK-JS-DSET-7116691 "https://security.snyk.io/vuln/SNYK-JS-DSET-7116691")  
security.snyk.io/vuln/SNYK-JS-DSET-7116691

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
