{"id":"CVE-2021-23434","aliases":["CVE-2021-23434","GHSA-v39p-96qg-c8rf"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta al paquete object-path versiones anteriores a 0.11.6. Una vulnerabilidad de confusión de tipo puede conllevar a una omisión de CVE-2020-15256 cuando los componentes de la ruta usados en el parámetro path son arrays. En particular, la condición currentPath === \"__proto__\" devuelve false si currentPath es [\"__proto__\"]. Esto se debe a que el operador === devuelve siempre falso cuando el tipo de los operandos es diferente.","source":"nvd"}],"published":"2021-08-27T16:50:13.019Z","modified":"2026-06-17T03:38:45.380Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-843","CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.11.6","status":"affected"}],"product":"object-path","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.11.6"}],"ecosystem":"npm","package":"object-path","purl":"pkg:npm/object-path","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.11.6"}],"vendor":"object-path_project","product":"object-path","cpe":"cpe:2.3:a:object-path_project:object-path:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-OBJECTPATH-1569453","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1570423","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mariocasciaro/object-path/commit/7bdf4abefd102d16c163d633e8994ef154cab9eb","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mariocasciaro/object-path%230116","tags":["broken-link","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00031.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23434","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mariocasciaro/object-path","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/mariocasciaro/object-path#0116","tags":["web"],"sources":["ghsa"]}],"credits":["Alessio Della Libera of Snyk Research Team"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23434","url":"https://www.cve.org/CVERecord?id=CVE-2021-23434","licence":"CVE Terms of Use","modified":"2024-09-16T16:48:40.220Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v39p-96qg-c8rf","url":"https://github.com/advisories/GHSA-v39p-96qg-c8rf","licence":"CC-BY-4.0","modified":"2025-01-14T09:11:55.900Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23434","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23434","licence":"Public domain","modified":"2026-06-17T03:38:45.380Z"}],"updatedAt":"2026-11-25T22:58:03.528Z","epss":{"score":0.01902,"percentile":0.80297,"date":"2026-12-01T12:00:22.000Z"}}