CVE-2022-32223: 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...
High CVSS 7.3
- CVE id
- CVE-2022-32223
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Node.js Runtimes and servers |
>= 14.0.0, <= 14.14.0 >= 14.14.0, < 14.20.0 >= 16.0.0, <= 16.12.0 >= 16.13.0, < 16.16.0 >= 18.0.0, < 18.0.5 |
14.20.0, 16.16.0, 18.0.5 |
How to fix it
Upgrade Node.js to the fixed release of the line you run: 14.20.0, 16.16.0, 18.0.5.
node --version
- Install the patched Node.js release of your major line (nvm install, or the node image tag) everywhere the app runs and builds.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2022-32223 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-32223
- Web: https://hackerone.com/reports/1447455
- Web: https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/
- Web: https://security.netapp.com/advisory/ntap-20220915-0001/
- Web: https://hackerone.com/reports/1447455
- Web: https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/
- Web: https://security.netapp.com/advisory/ntap-20220915-0001/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.