Skip to content

CVE-2020-15256 Prototype pollution in object-path

CriticalCVSS 9.8 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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.

Upgrade path

8 packages: 7 fixed.

PackageAffectedFixed inStatus
debian/node-object-path(Debian 12) < 0.11.5-3 0.11.5-3 Fixed
debian/node-object-path(Debian 13) < 0.11.5-3 0.11.5-3 Fixed
debian/node-object-path(Debian 14) < 0.11.5-3 0.11.5-3 Fixed
npm object-path(npm) < 0.11.5 0.11.5 Fixed
object-path project object-path < 0.11.5 0.11.5 Fixed
ubuntu/node-object-path(Ubuntu 18.04) < 0.11.3-1ubuntu0.1; = 0.11.3-1 0.11.3-1ubuntu0.1 Fixed
ubuntu/node-object-path(Ubuntu 20.04) < 0.11.4-2ubuntu0.1; = 0.11.4-2 0.11.4-2ubuntu0.1 Fixed
mariocasciaro object-path = < 0.11.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm object-path(npm) < 0.11.5 0.11.5
debian/node-object-path(Debian:12) < 0.11.5-3 0.11.5-3
debian/node-object-path(Debian:13) < 0.11.5-3 0.11.5-3
debian/node-object-path(Debian:14) < 0.11.5-3 0.11.5-3
object-path project object-path < 0.11.5 0.11.5
mariocasciaro object-path = < 0.11.5 No fix listed
ubuntu/node-object-path(Ubuntu:18.04) < 0.11.3-1ubuntu0.1 0.11.3-1ubuntu0.1
ubuntu/node-object-path(Ubuntu:18.04) = 0.11.3-1 No fix listed
ubuntu/node-object-path(Ubuntu:20.04) < 0.11.4-2ubuntu0.1 0.11.4-2ubuntu0.1
ubuntu/node-object-path(Ubuntu:20.04) = 0.11.4-2 No fix listed

References