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
    • 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-2021-32036

CVE-2021-32036: MongoDB Server DOS Vulnerability

CVE-2021-32036 is a denial of service flaw in MongoDB Server that allows authenticated users to exhaust resources through repeated features command invocations. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-32036 Overview

CVE-2021-32036 is a resource exhaustion vulnerability in MongoDB Server that allows an authenticated user without any specific authorizations to repeatedly invoke the features command. When executed at high volume, this can lead to resource depletion or generate high lock contention, resulting in denial of service conditions. In rare cases, this vulnerability could also result in id field collisions, potentially impacting data integrity.

Critical Impact

Authenticated attackers can cause denial of service through resource exhaustion by repeatedly invoking the features command, with potential for id field collisions affecting data integrity.

Affected Products

  • MongoDB Server v5.0 versions prior to and including 5.0.3
  • MongoDB Server v4.4 versions prior to and including 4.4.9
  • MongoDB Server v4.2 versions prior to and including 4.2.16
  • MongoDB Server v4.0 versions prior to and including 4.0.28

Discovery Timeline

  • 2022-02-04 - CVE CVE-2021-32036 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-32036

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The core issue stems from MongoDB Server's failure to implement proper rate limiting or resource controls on the features command endpoint. An authenticated user, even one without elevated privileges or specific authorizations, can exploit this weakness by sending a high volume of requests to the features command.

The attack exploits the network-accessible interface requiring only low-privilege authentication, making it accessible to any authenticated user on the system. The primary impact is on system availability through resource exhaustion, with a secondary concern being potential integrity impacts through id field collisions in rare edge cases.

Root Cause

The root cause is the absence of proper resource allocation controls and rate limiting mechanisms for the features command in MongoDB Server. The server does not enforce throttling or quotas on how frequently this command can be invoked by authenticated users, allowing for abuse through repeated high-volume requests. This design oversight enables attackers to consume server resources disproportionately, leading to lock contention and potential system instability.

Attack Vector

The attack can be executed remotely over the network by any authenticated user. The attacker needs only basic authentication to the MongoDB instance—no special authorizations or privileges are required. The exploitation involves repeatedly calling the features command at high frequency, which:

  1. Consumes server CPU and memory resources
  2. Generates high lock contention as the server processes concurrent requests
  3. Potentially causes id field collisions due to race conditions under extreme load
  4. Results in degraded performance or complete denial of service for legitimate users

The vulnerability requires no user interaction and can be scripted for automated exploitation.

Detection Methods for CVE-2021-32036

Indicators of Compromise

  • Unusually high frequency of features command invocations from single authenticated sessions
  • Abnormal lock contention patterns in MongoDB server logs
  • Resource exhaustion alerts showing elevated CPU or memory utilization
  • Unexpected id field collision errors in application logs

Detection Strategies

  • Monitor MongoDB slow query logs for repeated features command executions
  • Implement alerting on command frequency thresholds per authenticated user
  • Track system resource utilization metrics (CPU, memory, lock wait times) for anomalies
  • Review authentication logs for sessions exhibiting suspicious command patterns

Monitoring Recommendations

  • Enable MongoDB profiling to capture detailed command execution statistics
  • Configure SIEM alerts for rapid successive features command invocations
  • Establish baseline metrics for normal features command usage patterns
  • Monitor for signs of resource contention such as increased query latency across all operations

How to Mitigate CVE-2021-32036

Immediate Actions Required

  • Upgrade MongoDB Server to patched versions: 5.0.4 or later, 4.4.10 or later, 4.2.17 or later, or 4.0.28 or later
  • Review authentication logs to identify any potential exploitation attempts
  • Implement network-level rate limiting for MongoDB connections as an interim measure
  • Restrict network access to MongoDB instances to trusted hosts only

Patch Information

MongoDB has addressed this vulnerability in subsequent releases. Organizations should upgrade to the following minimum versions:

  • MongoDB Server v5.0.4 or later
  • MongoDB Server v4.4.10 or later
  • MongoDB Server v4.2.17 or later
  • MongoDB Server v4.0.28 or later (note: v4.0 branch has reached end of life)

For detailed patch information, refer to the MongoDB Jira Issue SERVER-59294.

Workarounds

  • Implement application-level rate limiting for database commands where possible
  • Use network firewalls to restrict MongoDB access to only authorized application servers
  • Deploy a reverse proxy or connection pooler with rate limiting capabilities
  • Review and tighten MongoDB user permissions to minimize authenticated user exposure
bash
# Example: Restrict MongoDB access using iptables
# Allow connections only from trusted application servers
iptables -A INPUT -p tcp --dport 27017 -s 10.0.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 27017 -j DROP

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMongodb

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Vendor Resources
  • MongoDB Jira Issue SERVER-59294
  • Related CVEs
  • CVE-2026-5170: MongoDB Server DoS Vulnerability

  • CVE-2026-4359: MongoDB C Driver DoS Vulnerability

  • CVE-2026-1849: MongoDB Server DOS Vulnerability

  • CVE-2026-25612: MongoDB Server DoS 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