Debian DLA-3344-1 : nodejs - LTS security update

high Nessus Plugin ID 171918

Synopsis

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

Description

The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3344 advisory.

- A OS Command Injection vulnerability exists in Node.js versions <14.21.1, <16.18.1, <18.12.1, <19.0.1 due to an insufficient IsAllowedHost check that can easily be bypassed because IsIPAddress does not properly check if an IP address is invalid before making DBS requests allowing rebinding attacks.The fix for this issue in https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32212 was incomplete and this new CVE is to complete the fix. (CVE-2022-43548)

- An untrusted search path vulnerability exists in Node.js. <19.6.1, <18.14.1, <16.19.1, and <14.21.3 that could allow an attacker to search and potentially load ICU data when running with elevated privileges.
(CVE-2023-23920)

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 nodejs packages.

For Debian 10 buster, these problems have been fixed in version 10.24.0~dfsg-1~deb10u3.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023518

https://security-tracker.debian.org/tracker/source-package/nodejs

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

https://security-tracker.debian.org/tracker/CVE-2022-43548

https://security-tracker.debian.org/tracker/CVE-2023-23920

https://packages.debian.org/source/buster/nodejs

Plugin Details

Severity: High

ID: 171918

File Name: debian_DLA-3344.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2/26/2023

Updated: 3/3/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

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

CVSS Score Source: CVE-2022-43548

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libnode64, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:nodejs-doc, p-cpe:/a:debian:debian_linux:libnode-dev, p-cpe:/a:debian:debian_linux:nodejs

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/26/2023

Vulnerability Publication Date: 11/1/2022

Reference Information

CVE: CVE-2022-43548, CVE-2023-23920

IAVB: 2023-B-0013