Vulnerability · Published Jul 14, 2022 · Assigned by hackerone
CVE-2022-32223
High 7.3
In plain English
A high-severity uncontrolled search path in Node from NodeJS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | nodejs | 12.22.9~dfsg-1ubuntu3.1 | UBUNTU-CVE-2022-32223 |
Affected products (as reported)
Weakness: CWE-427
References
- https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/ x_refsource_MISC
- https://hackerone.com/reports/1447455 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20220915-0001/ x_refsource_CONFIRM