CVE Vulnerabilities

CVE-2023-23920

Untrusted Search Path

Published: Feb 23, 2023 | Modified: May 03, 2023
CVSS 3.x
4.2
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
4.2 LOW
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
Ubuntu
MEDIUM

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.

Weakness

The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product’s direct control.

Affected Software

Name Vendor Start Version End Version
Node.js Nodejs 14.0.0 (including) 14.14.0 (including)
Node.js Nodejs 14.0.0 (including) 14.21.3 (excluding)
Node.js Nodejs 16.0.0 (including) 16.12.0 (including)
Node.js Nodejs 16.0.0 (including) 16.19.1 (excluding)
Node.js Nodejs 18.0.0 (including) 18.11.0 (including)
Node.js Nodejs 18.0.0 (including) 18.14.1 (excluding)
Node.js Nodejs 19.0.0 (including) 19.6.1 (excluding)
Red Hat Enterprise Linux 8 RedHat nodejs:16-8070020230314140722.bd1311ed *
Red Hat Enterprise Linux 8 RedHat nodejs:18-8070020230322080930.bd1311ed *
Red Hat Enterprise Linux 8 RedHat nodejs:14-8070020230306170042.bd1311ed *
Red Hat Enterprise Linux 8.4 Extended Update Support RedHat nodejs:14-8040020230306170312.522a0ee4 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat nodejs:14-8060020230306170237.ad008a3a *
Red Hat Enterprise Linux 9 RedHat nodejs:18-9020020230327152102.rhel9 *
Red Hat Enterprise Linux 9 RedHat nodejs-1:16.19.1-1.el9_2 *
Red Hat Enterprise Linux 9.0 Extended Update Support RedHat nodejs-1:16.20.2-1.el9_0 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-nodejs14-0:3.6-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-nodejs14-nodejs-0:14.21.3-2.el7 *
Nodejs Ubuntu focal *
Nodejs Ubuntu jammy *
Nodejs Ubuntu kinetic *
Nodejs Ubuntu lunar *
Nodejs Ubuntu mantic *
Nodejs Ubuntu trusty *
Nodejs Ubuntu xenial *

Extended Description

This might allow attackers to execute their own programs, access unauthorized data files, or modify configuration in unexpected ways. If the product uses a search path to locate critical resources such as programs, then an attacker could modify that search path to point to a malicious program, which the targeted product would then execute. The problem extends to any type of critical resource that the product trusts. Some of the most common variants of untrusted search path are:

Potential Mitigations

References