{"id":"UBUNTU-CVE-2021-23440","details":"This affects the package set-value before \u003c2.0.1, \u003e=3.0.0 \u003c4.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.","modified":"2026-05-20T16:06:26.385724772Z","published":"2021-09-12T13:15:00Z","upstream":["CVE-2021-23440"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-23440"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1584212"},{"type":"REPORT","url":"https://github.com/jonschlinkert/set-value/commit/7cf8073bb06bf0c15e08475f9f952823b4576452"},{"type":"REPORT","url":"https://www.huntr.dev/bounties/2eae1159-01de-4f82-a177-7478a408c4a2/"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JS-SETVALUE-1540541"},{"type":"REPORT","url":"https://github.com/jonschlinkert/set-value/pull/33"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-23440"}],"affected":[{"package":{"name":"node-set-value","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-set-value?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-set-value","binary_version":"0.4.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23440.json"}},{"package":{"name":"node-set-value","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-set-value?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0-1","0.4.0-2","3.0.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-set-value","binary_version":"3.0.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23440.json"}},{"package":{"name":"node-set-value","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-set-value?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.1-2","3.0.1-3","4.1.0-2","4.1.0+~4.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-set-value","binary_version":"4.1.0+~4.0.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23440.json"}},{"package":{"name":"node-set-value","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-set-value?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0+~4.0.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-set-value","binary_version":"4.1.0+~4.0.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23440.json"}},{"package":{"name":"node-set-value","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-set-value?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0+~4.0.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-set-value","binary_version":"4.1.0+~4.0.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23440.json"}},{"package":{"name":"node-set-value","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-set-value?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0+~4.0.1-2","4.1.0+~4.0.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-set-value","binary_version":"4.1.0+~4.0.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23440.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}