CVE-2021-23440
nodejs-set-value: type confusion allows bypass of CVE-2019-10747
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Red Hat (medium).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | node-set-value | 3.0.1-2+deb11u1 |
| debian 12 | node-set-value | 3.0.1-3 |
| debian 13 | node-set-value | 3.0.1-3 |
| debian 14 | node-set-value | 3.0.1-3 |
| debian 9 | node-set-value | no fix listed |
| echo | node-set-value | 3.0.1-3 |
| npm::GitHub Security Advisory npm | set-value | 4.0.1, 2.0.1, 3.0.3 |
| nuget::GitHub Security Advisory NuGet | set-value-nuget | 2.0.0 |
| Red Hat | kibana, servicemesh-grafana, servicemesh-grafana-prometheus and 1 more | no fix listed |
Show all 12 entries from 9 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | node-set-value | 3.0.1-2+deb11u1 |
| debian 12 | node-set-value | 3.0.1-3 |
| debian 13 | node-set-value | 3.0.1-3 |
| debian 14 | node-set-value | 3.0.1-3 |
| debian 9 | node-set-value | no fix listed |
| echo | node-set-value | 3.0.1-3 |
| npm::GitHub Security Advisory npm | set-value | 4.0.1, 2.0.1, 3.0.3 |
| nuget::GitHub Security Advisory NuGet | set-value-nuget | 2.0.0 |
| Red Hat | kibana | no fix listed |
| Red Hat | servicemesh-grafana | no fix listed |
| Red Hat | servicemesh-grafana-prometheus | no fix listed |
| Red Hat | servicemesh-prometheus | no fix listed |
References
- https://access.redhat.com/security/cve/CVE-2021-23440
- https://github.com/advisories/GHSA-4jqc-8m5r-9rpr
- https://github.com/jonschlinkert/set-value
- https://github.com/jonschlinkert/set-value/commit/09c4b108fea3c0260008590053ff13da64913245
- https://github.com/jonschlinkert/set-value/commit/7cf8073bb06bf0c15e08475f9f952823b4576452
- https://github.com/jonschlinkert/set-value/commit/cb12f14955dde6e61829d70d1851bfea6a3c31ad
- https://github.com/jonschlinkert/set-value/pull/33
- https://github.com/jonschlinkert/set-value/pull/33/commits/383b72d47c74a55ae8b6e231da548f9280a4296a
All 15 references
- https://nvd.nist.gov/vuln/detail/CVE-2021-23440
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1584212
- https://snyk.io/vuln/SNYK-JS-SETVALUE-1540541
- https://www.cve.org/CVERecord?id=CVE-2021-23440
- https://www.huntr.dev/bounties/2eae1159-01de-4f82-a177-7478a408c4a2
- https://www.huntr.dev/bounties/2eae1159-01de-4f82-a177-7478a408c4a2/
- https://www.oracle.com/security-alerts/cpujan2022.html