CVEvulnerability

CVE-2022-32223

7.3 HIGH Published 2022-07-14 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-07-14
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.3 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-427

Description

Node.js is vulnerable to Hijack Execution Flow: DLL Hijacking under certain conditions on Windows platforms.This vulnerability can be exploited if the victim has the following dependencies on a Windows machine:* OpenSSL has been installed and “C:\Program Files\Common Files\SSL\openssl.cnf” exists.Whenever the above conditions are present, `node.exe` will search for `providers.dll` in the current user directory.After that, `node.exe` will try to search for `providers.dll` by the DLL Search Order in Windows.It is possible for an attacker to place the malicious file `providers.dll` under a variety of paths and exploit this vulnerability.

Affected configurations

• nodejs node.js (>= 14.0.0 <= 14.14.0) • nodejs node.js (>= 14.14.0 < 14.20.0) • nodejs node.js (>= 16.0.0 <= 16.12.0) • nodejs node.js (>= 16.13.0 < 16.16.0) • nodejs node.js (>= 18.0.0 < 18.0.5)

Related

Weakness · CWE (1)

  • CWE-427 Uncontrolled Search Path Element weakness

References