CVE-2020-15256Prototype pollution in object-path
A prototype pollution vulnerability has been found in `object-path` <= 0.11.4 affecting the `set()` method. The vulnerability is limited to the `includeInheritedProps` mode (if version >= 0.11.0 is used), which has to be explicitly enabled by creating a new instance of `object-path` and setting the option `includeInheritedProps: true`, or by using the default `withInheritedProps` instance. The default operating mode is not affected by the vulnerability if version >= 0.11.0 is used. Any usage of `set()` in versions < 0.11.0 is vulnerable. The issue is fixed in object-path version 0.11.5 As a workaround, don't use the `includeInheritedProps: true` options or the `withInheritedProps` instance if using a version >= 0.11.0.
What to do
Fixed builds are available from Debian, Ubuntu, npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | node-object-path | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | node-object-path | Fixed | 0.11.4-2ubuntu0.1 | UBUNTU-CVE-2020-15256 |
| Ubuntu 18.04 | node-object-path | Fixed | 0.11.3-1ubuntu0.1 | UBUNTU-CVE-2020-15256 |
| Debian 14 | node-object-path | Fixed | 0.11.5-3 | DEBIAN-CVE-2020-15256 |
| Debian 13 | node-object-path | Fixed | 0.11.5-3 | DEBIAN-CVE-2020-15256 |
| Debian 12 | node-object-path | Fixed | 0.11.5-3 | DEBIAN-CVE-2020-15256 |
| npm library | object-path | Fixed | 0.11.5 | GHSA-cwx2-736x-mf6w |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mariocasciaro object-path: affected: < 0.11.5
References
- https://github.com/mariocasciaro/object-path/security/advisories/GHSA-cwx2-736x-mf6w
- https://github.com/mariocasciaro/object-path/commit/2be3354c6c46215c7635eb1b76d80f1319403c68
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.