CVE-2021-23440 json
Prototype Pollution
published 2021-09-12 5 y ago modified 2026-06-17 4 mo ago also GHSA-4jqc-8m5r-9rpr , EUVD-2021-1976
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
This affects the package set-value before <2.0.1, >=3.0.0 <4.0.1. A type confusion vulnerability can lead to a bypass of CVE-2019-10747 when the user-provided keys used in the path parameter are arrays.
Patch / fix
- npm set-value 2.0.1, 3.0.3, 4.0.1
- nuget set-value-nuget 2.0.0
- set-value_project set-value 2.0.1, 4.0.1
- node-set-value Debian 14, Debian 13, Debian 12 3.0.1-3
debian advisories DEBIAN-CVE-2021-23440
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-23440 updated cvss 7.3
nodejs-set-value: type confusion allows bypass of CVE-2019-10747
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8affected: no fix planned “Will not fix”
-
Red Hat OpenShift Service Mesh 1 servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheusaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheusaffected: no fix available
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/grc-ui-api-rhel8, rhacm2/search-api-rhel8, rhacm2/mcm-topology-rhel8, rhacm2/console-header-rhel8, rhacm2/mcm-topology-api-rhel8affected: no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 3.11 kibanaaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 kibana, openshift4/ose-grafana, openshift4/ose-thanos-rhel9, golang-github-prometheus-prometheusaffected: no fix available, no fix planned “Out of support scope”
-
Red Hat Openshift Container Storage 4 ocs4/mcg-core-rhel8affected: no fix planned “Out of support scope”
-
Red Hat OpenShift distributed tracing 2 rhosdt/jaeger-all-in-one-rhel8 Red Hat Quay 3 quay/quay-rhel8affected: no fix planned “Will not fix”
show 2 moreshow fewer
-
Red Hat RHODF 4.11 for RHEL 8 odf4/mcg-core-rhel8 v4.11.0-30fixed: vendor fix RHSA-2022:6156
-
Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-ui-rhel8 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/grc-ui-rhel8, rhacm2/console-rhel8, rhacm2/search-ui-rhel8, rhacm2/console-api-rhel8, rhacm2/application-ui-rhel8, rhacm2/kui-web-terminal-rhel8 Red Hat RHODF 4.11 for RHEL 8 odf4/cephcsi-rhel8 v4.11.0-45, odf4/odf-console-rhel8 v4.11.0-51, odf4/odf-topolvm-rhel8 v4.11.0-24, odf4/mcg-rhel8-operator v4.11.0-28, odf4/ocs-rhel8-operator v4.11.0-67, odf4/odf-rhel8-operator v4.11.0-27, +19 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.21% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-SETVALUE-1540541 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1584212 referenced PoC, tagged "exploit" by a source, unverified
- huntr.dev https://www.huntr.dev/bounties/2eae1159-01de-4f82-a177-7478a408c4a2/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | set-value | >=4.0.0, <4.0.1 <2.0.1 >=3.0.0, <3.0.3 |
4.0.1 2.0.1 3.0.3 |
| nuget | set-value-nuget | <2.0.0 |
2.0.0 |
Affected products
- n/a set-value
Classification
References
-
github.com
/jonschlinkert/set-value/commit/7cf8073bb06bf0c15e08475f9f952823b4576452
web, patch, third-party-advisory
-
github.com
/jonschlinkert/set-value/pull/33
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujan2022.html
web, patch, third-party-advisory
-
github.com
/jonschlinkert/set-value/pull/33/commits/383b72d47c74a55ae8b6e231da548f9280a4296a
web
-
github.com
/jonschlinkert/set-value/commit/09c4b108fea3c0260008590053ff13da64913245
web
-
github.com
/jonschlinkert/set-value/commit/cb12f14955dde6e61829d70d1851bfea6a3c31ad
web
-
snyk.io
/vuln/SNYK-JS-SETVALUE-1540541
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1584212
web, exploit, third-party-advisory
-
huntr.dev
/bounties/2eae1159-01de-4f82-a177-7478a408c4a2/
exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23440
advisory
-
github.com
/jonschlinkert/set-value
package
-
huntr.dev
/bounties/2eae1159-01de-4f82-a177-7478a408c4a2
web
Sources
- CVE List CVE-2021-23440
- GitHub Advisory GHSA-4jqc-8m5r-9rpr
- NVD CVE-2021-23440
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.