Vulnerabilities / CVE-2021-23440

critical

CVE-2021-23440

nodejs-set-value: type confusion allows bypass of CVE-2019-10747

Published Modified CWE 843
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Red Hat7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

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

SourcePackageFixed in
debian 11node-set-value3.0.1-2+deb11u1
debian 12node-set-value3.0.1-3
debian 13node-set-value3.0.1-3
debian 14node-set-value3.0.1-3
debian 9node-set-valueno fix listed
echonode-set-value3.0.1-3
npm::GitHub Security Advisory npmset-value4.0.1, 2.0.1, 3.0.3
nuget::GitHub Security Advisory NuGetset-value-nuget2.0.0
Red Hatkibana, servicemesh-grafana, servicemesh-grafana-prometheus and 1 moreno fix listed
Show all 12 entries from 9 sources
SourcePackageFixed in
debian 11node-set-value3.0.1-2+deb11u1
debian 12node-set-value3.0.1-3
debian 13node-set-value3.0.1-3
debian 14node-set-value3.0.1-3
debian 9node-set-valueno fix listed
echonode-set-value3.0.1-3
npm::GitHub Security Advisory npmset-value4.0.1, 2.0.1, 3.0.3
nuget::GitHub Security Advisory NuGetset-value-nuget2.0.0
Red Hatkibanano fix listed
Red Hatservicemesh-grafanano fix listed
Red Hatservicemesh-grafana-prometheusno fix listed
Red Hatservicemesh-prometheusno fix listed

References

All 15 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.