DLL Hijacking Vulnerability in Node.js: CVE-2022-32223

nodejs Updated 02 Oct 2025

Summary

14/07/2022
N/A
Yes i
High
7.3

UBUNTU-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 Windows machine:* OpenSSL... Affects nodejs versions < 0.10.25~dfsg2-2ubuntu1.2+esm1. Fixed in 0.10.25~dfsg2-2ubuntu1.2+esm1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Node.js is a popular open-source runtime environment that allows developers to execute JavaScript code server-side. It is widely used for building scalable network applications. The affected versions of Node.js are vulnerable to a DLL hijacking issue, which can lead to unauthorized code execution on Windows platforms under specific conditions.

Vulnerability Detail

The vulnerability, identified as CVE-2022-32223, arises from Node.js's handling of DLL files on Windows systems. If OpenSSL is installed and a specific configuration file exists, Node.js may search for a malicious DLL named 'providers.dll' in the current user directory. This behavior can be exploited by an attacker to execute arbitrary code, potentially compromising the system's integrity and confidentiality.

How To Fix

Minimum fixed version

0.10.25~dfsg2-2ubuntu1.2+esm1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade nodejs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can ensure that the 'providers.dll' file is not present in the current user directory or any directory that Node.js may search. Additionally, users can avoid using OpenSSL configurations that may trigger this vulnerability.

Conclusion

CVE-2022-32223 is a significant vulnerability affecting multiple versions of Node.js, particularly on Windows platforms. Users are strongly advised to update their installations to the patched versions to mitigate the risk of exploitation. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for nodejs →

Share this vulnerability

FAQ

CVE-2022-32223 is a vulnerability in Node.js that allows for DLL hijacking on Windows systems, potentially leading to unauthorized code execution.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Exploitation of this vulnerability can lead to unauthorized access and execution of malicious code, compromising the security of the affected system.

Yes, patched versions of Node.js are available for various Ubuntu distributions. Users should update to the latest versions as specified in the 'how_to_fix' section.

The CVSS score for CVE-2022-32223 is 7.3, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for nodejs.

How To Fix

Minimum fixed version

0.10.25~dfsg2-2ubuntu1.2+esm1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade nodejs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback