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
Ubuntu

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)

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