CVE-2022-32223
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.
How to fix
- nodejs node.js14.20.0, 16.16.0, 18.0.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node.js | 14.0.0 ≤ v ≤ 14.14.0, 14.14.0 ≤ v < 14.20.0, 16.0.0 ≤ v ≤ 16.12.0, 16.13.0 ≤ v < 16.16.0, 18.0.0 ≤ v < 18.0.5 | 14.20.0, 16.16.0, 18.0.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.