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-2021-46877

CVE-2021-46877: Jackson-databind DOS Vulnerability

CVE-2021-46877 is a denial of service flaw in Fasterxml Jackson-databind that causes 2 GB transient heap usage in JsonNode JDK serialization. This article covers technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2021-46877 Overview

CVE-2021-46877 is a denial of service vulnerability affecting FasterXML jackson-databind versions 2.10.x through 2.12.x before 2.12.6 and 2.13.x before 2.13.1. The vulnerability allows attackers to cause excessive transient heap usage (approximately 2 GB per read operation) in uncommon situations involving JsonNode JDK serialization. This resource exhaustion issue can lead to service disruption and application crashes in Java applications that utilize the vulnerable jackson-databind library for JSON processing.

Critical Impact

Attackers can trigger massive memory consumption (2 GB transient heap per read) through crafted JsonNode serialization operations, potentially causing denial of service conditions in applications using affected jackson-databind versions.

Affected Products

  • FasterXML jackson-databind versions 2.10.x through 2.12.x before 2.12.6
  • FasterXML jackson-databind version 2.13.0 (including RC1 and RC2)
  • FasterXML jackson-databind versions 2.13.x before 2.13.1

Discovery Timeline

  • 2023-03-18 - CVE-2021-46877 published to NVD
  • 2025-02-26 - Last updated in NVD database

Technical Details for CVE-2021-46877

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The flaw resides in how jackson-databind handles JsonNode objects during JDK serialization operations. When specific serialization conditions are met, the library fails to properly limit memory allocation, resulting in excessive heap consumption.

The vulnerability is network-exploitable without requiring authentication or user interaction. An attacker who can influence the JSON data being processed by a vulnerable application may trigger the excessive memory allocation, leading to memory exhaustion and denial of service. While the attack complexity is low, it requires the application to be in an "uncommon situation" involving JsonNode JDK serialization, which somewhat limits the attack surface.

The impact is primarily focused on availability, with no direct confidentiality or integrity implications. However, in production environments, this memory exhaustion can cause cascading failures, especially in containerized or memory-constrained deployments.

Root Cause

The root cause of CVE-2021-46877 lies in improper resource allocation during JsonNode JDK serialization within the jackson-databind library. The vulnerability stems from a design flaw where the serialization process allocates approximately 2 GB of transient heap memory per read operation without implementing proper bounds checking or resource limits.

This occurs specifically in scenarios involving JsonNode objects being serialized through standard JDK serialization mechanisms. The library fails to account for the potential memory amplification that can occur during these operations, allowing specially crafted inputs to trigger disproportionate resource consumption.

Attack Vector

The attack vector for CVE-2021-46877 is network-based. An attacker can exploit this vulnerability by sending or causing the processing of JSON data that triggers the vulnerable JsonNode JDK serialization code path. The attack does not require any privileges or user interaction, making it particularly dangerous for publicly accessible services.

Exploitation involves crafting JSON payloads that, when processed by the vulnerable jackson-databind library through JsonNode JDK serialization, trigger the excessive memory allocation behavior. The transient nature of the heap usage means that repeated requests can quickly exhaust available memory resources, causing application crashes or severe performance degradation.

For technical implementation details, see the GitHub Issue Discussion where this vulnerability is documented.

Detection Methods for CVE-2021-46877

Indicators of Compromise

  • Sudden spikes in JVM heap memory usage, particularly allocations approaching 2 GB increments
  • Application OutOfMemoryError exceptions during JSON processing operations
  • Increased garbage collection activity and GC pause times in Java applications using jackson-databind
  • Service degradation or crashes in applications processing JSON data from untrusted sources

Detection Strategies

  • Implement Software Composition Analysis (SCA) tools to identify vulnerable jackson-databind versions (2.10.x through 2.12.5 or 2.13.0)
  • Monitor JVM heap metrics for anomalous memory allocation patterns during JSON deserialization
  • Configure alerting on OutOfMemoryError occurrences in application logs
  • Review dependency trees in Maven or Gradle projects for transitive dependencies on vulnerable versions

Monitoring Recommendations

  • Enable JVM memory profiling and set up alerts for heap usage exceeding normal operational thresholds
  • Implement application performance monitoring (APM) to track memory allocation during JSON processing
  • Monitor container or process memory limits and restart patterns that may indicate exploitation attempts
  • Log and analyze JSON payload sizes and serialization timing to identify potential attack patterns

How to Mitigate CVE-2021-46877

Immediate Actions Required

  • Upgrade jackson-databind to version 2.12.6 or later for 2.12.x users
  • Upgrade jackson-databind to version 2.13.1 or later for 2.13.x users
  • Audit all Java applications and dependencies for vulnerable jackson-databind versions
  • Implement memory limits on JVM instances to prevent complete system resource exhaustion

Patch Information

FasterXML has released patched versions of jackson-databind that address this vulnerability. Users should upgrade to the following versions:

  • For 2.12.x branch: Upgrade to 2.12.6 or later
  • For 2.13.x branch: Upgrade to 2.13.1 or later
  • For newer versions: Use 2.14.x or 2.15.x releases which include the fix

The fix addresses the improper resource allocation during JsonNode JDK serialization. For complete details on the issue and resolution, refer to the GitHub Issue #3328 and the Jackson User Group discussion.

Workarounds

  • If immediate patching is not possible, implement JVM heap size limits to prevent complete system memory exhaustion
  • Consider implementing request size limits on JSON payloads to reduce exploitation potential
  • Avoid using JDK serialization with JsonNode objects in untrusted contexts until the patch is applied
  • Deploy rate limiting on endpoints that process JSON data to slow potential denial of service attempts
bash
# Example Maven dependency update to patched version
# Update pom.xml jackson-databind version to 2.12.6 or later
mvn versions:use-dep-version -Dincludes=com.fasterxml.jackson.core:jackson-databind -DdepVersion=2.12.6

# Verify the updated dependency
mvn dependency:tree | grep jackson-databind

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechJackson Databind

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • Google Groups Jackson User Post
  • Vendor Resources
  • GitHub Issue Discussion
  • Related CVEs
  • CVE-2020-36518: Jackson-databind DoS Vulnerability

  • CVE-2023-35116: Jackson-databind DoS Vulnerability

  • CVE-2020-10650: Debian Linux RCE Vulnerability

  • CVE-2020-9547: Jackson-databind Deserialization Vulnerability
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