CVE-2022-32222
npm vulnerability analysis and mitigation

Overview

A cryptographic vulnerability was identified in Node.js on Linux systems in versions of 18.x prior to 18.40.0. The vulnerability relates to the default path configuration for openssl.cnf, which could potentially be accessible to non-administrative users instead of being properly restricted to /etc/ssl as it was in versions prior to the OpenSSL 3 upgrade (NVD, CVE Mitre).

Technical details

When Node.js starts on Linux-based systems, it attempts to read the openssl.cnf file from /home/iojs/build/ws/out/Release/obj.target/deps/openssl/openssl.cnf. This path, which normally doesn't exist, could be exploited on shared systems where an attacker might be able to create this file and consequently affect the default OpenSSL configuration for other users (Node Blog).

Impact

On shared systems, this vulnerability could allow an attacker to manipulate the OpenSSL configuration affecting other users' Node.js applications. This could potentially lead to cryptographic weaknesses or other security issues depending on how the OpenSSL configuration is manipulated (Node Blog).

Mitigation and workarounds

The vulnerability has been fixed in Node.js version 18.40.0 and later. Users are advised to upgrade to the patched version. For systems that cannot be immediately upgraded, administrators should ensure proper file permissions and access controls are in place for the affected paths (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related npm vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-64756HIGH7.5
  • JavaScriptJavaScript
  • nodejs:22::nodejs-full-i18n
NoYesNov 17, 2025
CVE-2025-6965HIGH7.2
  • SQLiteSQLite
  • nodejs:22::nodejs-packaging-bundler
NoYesJul 15, 2025
CVE-2025-7458MEDIUM6.9
  • SQLiteSQLite
  • nodejs-docs
NoYesJul 29, 2025
CVE-2025-64118MEDIUM6.1
  • JavaScriptJavaScript
  • kibana-8.19
NoYesOct 30, 2025
CVE-2025-52099N/AN/A
  • SQLiteSQLite
  • firefox
NoYesOct 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management