Description
set-value is vulnerable to Prototype Pollution in versions lower than 3.0.1. The function mixin-deep could be tricked into adding or modifying properties of Object.prototype using any of the constructor, prototype and _proto_ payloads.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | set-value | All versions before 2.0.1 and version 3.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-set-value | 0.4.0-2 | — |
| Debian 13 | node-set-value | 0.4.0-2 | — |
| Debian 12 | node-set-value | 0.4.0-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-set-value | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | nodejs +3 | 1:12.20.1-1.module+el8.3.0+9503+19cb079c | RHSA-2021:0549 |
| RHEL 8 | nodejs-nodemon | 2.0.3-1.module+el8.3.0+9715+1718613f | RHSA-2021:0549 |
| RHEL 8 | nodejs-packaging | 17-3.module+el8.1.0+3369+37ae6a45 | RHSA-2021:0549 |
| RHEL 8 | npm | 1:6.14.10-1.12.20.1.1.module+el8.3.0+9503+19cb079c | RHSA-2021:0549 |
| RHEL 3 | rh-nodejs12-nodejs +2 | 12.20.1-1.el7 | RHSA-2021:0485 |
| RHEL 3 | rh-nodejs12-nodejs-nodemon | 2.0.3-1.el7 | RHSA-2021:0485 |
| RHEL 3 | rh-nodejs12-npm | 6.14.10-12.20.1.1.el7 | RHSA-2021:0485 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | nodejs-nodemon | 2.0.3-1.module_el8.4.0+2521+c668cc9f | ALSA-2021:0549 |
| AlmaLinux 8 | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2021:0549 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | nodejs-nodemon | 2.0.3-1.module+el8.3.0+100+234774f7 | RLSA-2021:0549 |
| Rocky Linux 8 | nodejs-packaging | 17-3.module+el8.3.0+101+f84c7154 | RLSA-2021:0549 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | nodejs +3 | 1:12.20.1-1.module+el8.3.0+9643+8c99e187 | ELSA-2021-0549 |
| Oracle Linux 8 | nodejs-nodemon | 2.0.3-1.module+el8.3.0+9643+8c99e187 | ELSA-2021-0549 |
| Oracle Linux 8 | nodejs-packaging | 17-3.module+el8.1.0+5393+aaf413e3 | ELSA-2021-0549 |
| Oracle Linux 8 | npm | 1:6.14.10-1.12.20.1.1.module+el8.3.0+9643+8c99e187 | ELSA-2021-0549 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | set-value | < 2.0.1 | 2.0.1 | GHSA-4g88-fppr-53pp |
| npm | set-value | >= 3.0.0, < 3.0.1 | 3.0.1 | GHSA-4g88-fppr-53pp |
Advisories 6
- ALSA-2021:0549 Moderate: nodejs:12 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2021:0549 Red Hat Security Advisory: nodejs:12 security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2021:0485 Red Hat Security Advisory: rh-nodejs12-nodejs security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- WID-SEC-2022-1603 IBM Tivoli Netcool/OMNIbus: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 24, 2026
- RLSA-2021:0549 Moderate: nodejs:12 security update Rocky Linux Security Advisories · Feb 5, 2026
- ELSA-2021-0549 Moderate: nodejs:12 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Feb 20, 2021
References
- https://snyk.io/vuln/SNYK-JS-SETVALUE-450213
- [drat-dev] 20191029 [GitHub] [drat] ottlinger opened a new issue #202: Fix security issue in set-value mailing-list
- FEDORA-2020-1f1c94907b vendor-advisory
- FEDORA-2020-582515fa8a vendor-advisory