Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-23434
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:40 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-23434
Complete source record
{
"id": "0882a8cd1054764e9b657edd4e6920c0342278ce117f1f19c54def70081a84b4",
"url": "https://osv.dev/vulnerability/CVE-2021-23434",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-23434",
"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.",
"evidence": "osv:CVE-2021-23434",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-23434",
"aliases": [
"CVE-2021-23434",
"GHSA-v39p-96qg-c8rf"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mariocasciaro/object-path",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "94f92d8932fce12eeff853116646160477c6ce11"
},
{
"fixed": "7bdf4abefd102d16c163d633e8994ef154cab9eb"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:object-path_project:object-path:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.11.6"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "7bdf4abefd102d16c163d633e8994ef154cab9eb"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.11.0",
"v0.10.0",
"v0.9.3",
"v0.9.2",
"v0.9.1",
"v0.9.0",
"v0.8.1",
"v0.8.0",
"v0.7.0",
"v0.6.0",
"v0.5.1",
"v0.4.0",
"v0.3.0",
"v0.2.1",
"v0.2.0",
"v0.1.3",
"v0.1.2",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23434.json"
}
}
],
"modified": "2026-10-20T10:54:32.252112097Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2023/01/msg00031.html",
"https://github.com/mariocasciaro/object-path/commit/7bdf4abefd102d16c163d633e8994ef154cab9eb",
"https://github.com/mariocasciaro/object-path%230116",
"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1570423",
"https://snyk.io/vuln/SNYK-JS-OBJECTPATH-1569453"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-23434",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385508,
"published_at": "2021-08-27T17:15:06.91+00:00"
}