Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-32222

CVE-2022-32222: Node.js Information Disclosure Vulnerability

CVE-2022-32222 is an information disclosure vulnerability in Node.js on Linux that exposes openssl.cnf to unauthorized users. This article covers the cryptographic flaw, affected 18.x versions, its impact, and mitigation.

Published: February 18, 2026

CVE-2022-32222 Overview

A cryptographic vulnerability exists in Node.js on Linux in versions of 18.x prior to 18.40.0 which allowed a default path for openssl.cnf that might be accessible under some circumstances to a non-admin user instead of /etc/ssl as was the case in versions prior to the upgrade to OpenSSL 3. This vulnerability allows potential manipulation of OpenSSL configuration by unauthorized users.

Critical Impact

Non-admin users may be able to influence OpenSSL configuration through an insecure default path, potentially allowing cryptographic settings manipulation in Node.js applications.

Affected Products

  • Node.js versions 18.x prior to 18.40.0
  • Siemens SINEC INS (all versions)
  • Siemens SINEC INS 1.0 (including SP1 and SP2)

Discovery Timeline

  • July 14, 2022 - CVE-2022-32222 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-32222

Vulnerability Analysis

This vulnerability is classified under CWE-310 (Cryptographic Issues) and CWE-427 (Uncontrolled Search Path Element). The issue stems from changes introduced during the upgrade to OpenSSL 3 in Node.js 18.x, where the default search path for the OpenSSL configuration file (openssl.cnf) was inadvertently changed to a location that may be writable by non-administrative users under certain system configurations.

Prior to the OpenSSL 3 upgrade, Node.js consistently used /etc/ssl as the configuration path, which is typically protected by appropriate file system permissions. The change in behavior introduced a potential security boundary violation where unprivileged users could potentially place a malicious openssl.cnf file in the new default path.

Root Cause

The root cause of this vulnerability lies in the uncontrolled search path element introduced during the OpenSSL 3 integration. When Node.js loads OpenSSL, it searches for configuration files in a specific order. The change to OpenSSL 3 modified this search path behavior, potentially allowing configuration files to be loaded from user-accessible directories rather than the traditionally secured /etc/ssl location.

Attack Vector

An attacker with local access to a Linux system running a vulnerable version of Node.js could potentially exploit this vulnerability by placing a crafted openssl.cnf file in the accessible default path. This could allow the attacker to influence cryptographic operations performed by Node.js applications, potentially weakening encryption, manipulating certificate validation, or affecting other security-sensitive cryptographic behaviors.

The attack requires local access to the system and the ability to write to the vulnerable default configuration path. Successful exploitation could impact the integrity of cryptographic operations without affecting confidentiality or availability directly.

Detection Methods for CVE-2022-32222

Indicators of Compromise

  • Unexpected openssl.cnf files appearing in non-standard locations outside /etc/ssl
  • Modifications to OpenSSL configuration files by unauthorized users
  • Unusual cryptographic behavior in Node.js applications
  • File system audit logs showing configuration file creation in the vulnerable path

Detection Strategies

  • Monitor file system changes in directories that may be used as OpenSSL configuration paths
  • Implement file integrity monitoring for OpenSSL configuration files across the system
  • Audit Node.js application behavior for unexpected cryptographic operations
  • Review system logs for unauthorized file creation activities in potential configuration directories

Monitoring Recommendations

  • Enable file access auditing on directories where openssl.cnf files may be loaded
  • Configure SentinelOne to monitor for suspicious file creation patterns related to OpenSSL configuration
  • Implement alerts for changes to cryptographic configuration files
  • Regularly audit Node.js version deployments to identify vulnerable instances

How to Mitigate CVE-2022-32222

Immediate Actions Required

  • Upgrade Node.js to version 18.40.0 or later to remediate this vulnerability
  • Audit existing systems for any unauthorized openssl.cnf files in non-standard locations
  • Restrict file system permissions on directories that could be used as OpenSSL configuration paths
  • Review application deployment configurations to ensure secure OpenSSL paths are specified

Patch Information

The vulnerability is addressed in Node.js version 18.40.0 and later. Organizations should prioritize upgrading affected Node.js installations. For Siemens SINEC INS deployments, consult Siemens security advisories for specific patch guidance. Additional technical details about this vulnerability can be found in the HackerOne Report #1695596.

Workarounds

  • Explicitly configure the OPENSSL_CONF environment variable to point to /etc/ssl/openssl.cnf or another secured location
  • Implement strict file system permissions to prevent non-admin users from writing to potential configuration directories
  • Use containerization to isolate Node.js applications and control the file system environment
  • Deploy application-level controls to validate OpenSSL configuration integrity at startup
bash
# Configuration example
# Set secure OpenSSL configuration path explicitly
export OPENSSL_CONF=/etc/ssl/openssl.cnf

# Verify permissions on OpenSSL configuration directory
chmod 755 /etc/ssl
chmod 644 /etc/ssl/openssl.cnf
chown root:root /etc/ssl/openssl.cnf

# Audit for openssl.cnf files in non-standard locations
find / -name "openssl.cnf" -not -path "/etc/ssl/*" 2>/dev/null

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechNodejs

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.39%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-310

  • CWE-427
  • Technical References
  • HackerOne Report #1695596
  • Related CVEs
  • CVE-2023-32005: Node.js Information Disclosure Vulnerability

  • CVE-2022-35255: Node.js WebCrypto Information Disclosure

  • CVE-2024-21890: Node.js Information Disclosure Flaw

  • CVE-2023-45143: Node.js Undici Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English