The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-21824

CVE-2022-21824: Node.js Prototype Pollution Vulnerability

CVE-2022-21824 is a prototype pollution flaw in Node.js console.table() function that allows limited object prototype manipulation. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 18, 2026

CVE-2022-21824 Overview

CVE-2022-21824 is a prototype pollution vulnerability affecting Node.js through its console.table() function. The vulnerability exists due to improper handling of user-controlled input passed to the "properties" parameter when a plain object with at least one property (such as __proto__) is simultaneously passed as the first parameter. This flaw enables attackers to pollute the Object prototype, potentially leading to denial of service conditions or integrity violations in affected applications.

Critical Impact

Prototype pollution vulnerability in Node.js console.table() allows attackers to modify Object prototype properties, potentially causing application crashes or unexpected behavior across all objects in the JavaScript runtime.

Affected Products

  • Node.js versions prior to 12.22.9, 14.18.3, 16.13.2, and 17.3.1
  • Oracle MySQL Cluster, MySQL Connectors, MySQL Enterprise Monitor, MySQL Server, MySQL Workbench
  • Oracle PeopleSoft Enterprise PeopleTools 8.58 and 8.59
  • Debian Linux 10.0 and 11.0
  • NetApp OnCommand Insight, OnCommand Workflow Automation, SnapCenter

Discovery Timeline

  • 2022-02-24 - CVE CVE-2022-21824 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-21824

Vulnerability Analysis

This prototype pollution vulnerability (CWE-1321, CWE-471) occurs in the console.table() function's formatting logic. When processing tabular data, the function fails to properly sanitize the properties parameter, allowing malicious input to modify the Object prototype. The attack has limited scope in that it can only assign empty strings to numerical keys of the object prototype, but this limitation still enables denial of service scenarios and potential integrity issues.

The vulnerability is exploitable over the network without requiring authentication or user interaction. While the impact on confidentiality is negligible, the vulnerability poses significant risks to system availability and data integrity, as polluted prototypes can cause unexpected behavior across all JavaScript objects in the runtime environment.

Root Cause

The root cause lies in Node.js's console.table() implementation, which did not use a null prototype object when assigning properties from user-controlled input. When the first parameter is a plain object containing a property like __proto__, and user input is passed to the properties parameter, the function inadvertently modifies the global Object prototype. The fix implemented in patched versions uses Object.create(null) to create objects with a null prototype, preventing prototype chain pollution.

Attack Vector

An attacker can exploit this vulnerability by passing specially crafted input to an application that uses console.table() with user-controlled data. The attack requires:

  1. A Node.js application that passes user input to console.table()'s properties parameter
  2. A plain object with at least one property passed as the first argument
  3. Crafted input targeting the __proto__ property to pollute the Object prototype

The vulnerability is network-exploitable, allowing remote attackers to trigger prototype pollution in web applications, API servers, or any Node.js service processing untrusted input through the affected function.

Detection Methods for CVE-2022-21824

Indicators of Compromise

  • Unexpected empty string values appearing in Object prototype properties
  • Application crashes or unexpected behavior in JavaScript object operations
  • Anomalous input patterns containing __proto__ or prototype-related strings in application logs
  • Unusual console.table() calls with external or user-controlled data

Detection Strategies

  • Monitor application logs for suspicious input containing __proto__, constructor, or prototype strings
  • Implement runtime monitoring to detect unexpected modifications to Object.prototype
  • Deploy Static Application Security Testing (SAST) tools to identify unsafe usage of console.table() with user input
  • Review code for patterns where external data flows into console.table() parameters

Monitoring Recommendations

  • Enable detailed Node.js process logging to capture unusual prototype access patterns
  • Implement application-level monitoring for property pollution attempts
  • Configure web application firewalls to detect and block prototype pollution payloads
  • Set up alerts for application errors related to Object prototype modifications

How to Mitigate CVE-2022-21824

Immediate Actions Required

  • Upgrade Node.js to patched versions: 12.22.9+, 14.18.3+, 16.13.2+, or 17.3.1+
  • Audit application code for usage of console.table() with user-controlled input
  • Implement input validation to sanitize or reject prototype-related property names
  • Apply vendor patches for affected Oracle and NetApp products

Patch Information

Node.js has released security patches that address this vulnerability by using a null prototype for the object when assigning properties in console.table(). The fix is available in the following versions:

  • Node.js 12.x: Upgrade to version 12.22.9 or later
  • Node.js 14.x: Upgrade to version 14.18.3 or later
  • Node.js 16.x: Upgrade to version 16.13.2 or later
  • Node.js 17.x: Upgrade to version 17.3.1 or later

For detailed patch information, refer to the Node.js Security Release Blog and the HackerOne Report #1431042. Oracle users should consult the Oracle Critical Patch Update April 2022 for affected MySQL and PeopleSoft products.

Workarounds

  • Avoid passing user-controlled data to console.table() properties parameter
  • Implement a wrapper function that sanitizes input before passing to console.table()
  • Use Object.freeze(Object.prototype) to prevent prototype modifications (may cause compatibility issues)
  • Deploy input validation middleware to filter prototype pollution payloads at the application boundary
bash
# Verify Node.js version and upgrade if vulnerable
node --version
# If version is below the patched versions, upgrade using your package manager
# For nvm users:
nvm install 16.13.2
nvm use 16.13.2

# For system installations (Debian/Ubuntu):
sudo apt update && sudo apt install nodejs

# Verify the upgrade
node --version

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechNodejs

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.34%

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

  • CWE-1321
  • Technical References
  • Debian LTS Advisory October 2022

  • NetApp Advisory ntap-20220325-0007

  • NetApp Advisory ntap-20220729-0004

  • Debian Security Advisory DSA-5170

  • Oracle Critical Patch Update July 2022
  • Vendor Resources
  • HackerOne Report #1431042

  • Node.js Security Release Blog

  • Oracle Critical Patch Update April 2022
  • Related CVEs
  • CVE-2023-30589: Node.js HTTP Request Smuggling Vulnerability

  • CVE-2022-35256: Node.js HTTP Request Smuggling Flaw

  • CVE-2022-32215: Llhttp HTTP Request Smuggling Vulnerability

  • CVE-2022-32213: Llhttp HTTP Request Smuggling Vulnerability
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