Debian DLA-3291-1 : node-object-path - LTS security update

critical Nessus Plugin ID 170884

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-3291 advisory.

- 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. (CVE-2020-15256)

- 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. (CVE-2021-23434)

- object-path is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (CVE-2021-3805)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the node-object-path packages.

For Debian 10 buster, these problems have been fixed in version 0.11.4-2+deb10u2.

See Also

http://www.nessus.org/u?d109f415

https://www.debian.org/lts/security/2023/dla-3291

https://security-tracker.debian.org/tracker/CVE-2020-15256

https://security-tracker.debian.org/tracker/CVE-2021-23434

https://security-tracker.debian.org/tracker/CVE-2021-3805

https://packages.debian.org/source/buster/node-object-path

Plugin Details

Severity: Critical

ID: 170884

File Name: debian_DLA-3291.nasl

Version: 1.1

Type: local

Agent: unix

Published: 1/31/2023

Updated: 9/5/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-23434

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2020-15256

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:node-object-path, cpe:/o:debian:debian_linux:10.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/29/2023

Vulnerability Publication Date: 10/19/2020

Reference Information

CVE: CVE-2020-15256, CVE-2021-23434, CVE-2021-3805