What’s Vulnerable › Vulnerabilities

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.

Affected products

How to fix

Upgrade to a fixed version: Node.js 14.20.0, 16.16.0, 18.0.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-32223 or the next vulnerability affects your stack