{"id":"UBUNTU-CVE-2021-23434","details":"This affects the package object-path before 0.11.6. A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays. In particular, the condition currentPath === '__proto__' returns false if currentPath is ['__proto__']. This is because the === operator returns always false when the type of the operands is different.","modified":"2026-05-20T16:04:48.694211808Z","published":"2021-08-27T17:15:00Z","related":["USN-5967-1"],"upstream":["CVE-2021-23434"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-23434"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JS-OBJECTPATH-1569453"},{"type":"REPORT","url":"https://github.com/mariocasciaro/object-path/commit/7bdf4abefd102d16c163d633e8994ef154cab9eb"},{"type":"REPORT","url":"https://github.com/mariocasciaro/object-path%230116"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1570423"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5967-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-23434"}],"affected":[{"package":{"name":"node-object-path","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-object-path?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.3-1ubuntu0.1"}]}],"versions":["0.11.3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11.3-1ubuntu0.1","binary_name":"node-object-path"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23434.json"}},{"package":{"name":"node-object-path","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-object-path?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.4-2ubuntu0.1"}]}],"versions":["0.11.4-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-object-path","binary_version":"0.11.4-2ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23434.json"}},{"package":{"name":"node-object-path","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-object-path?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.8+~0.11.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-object-path","binary_version":"0.11.8+~0.11.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23434.json"}},{"package":{"name":"node-object-path","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-object-path?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.8+~0.11.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11.8+~0.11.1-2","binary_name":"node-object-path"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23434.json"}},{"package":{"name":"node-object-path","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-object-path?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.8+~0.11.1-2","0.11.8+~0.11.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11.8+~0.11.4-1","binary_name":"node-object-path"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23434.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/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:L/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]}