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-42003

CVE-2022-42003: Jackson-databind DOS Vulnerability

CVE-2022-42003 is a denial of service flaw in FasterXML Jackson-databind caused by resource exhaustion from deep wrapper array nesting. This post covers the technical details, affected versions, impact, and mitigation.

Published: February 18, 2026

CVE-2022-42003 Overview

CVE-2022-42003 is a resource exhaustion vulnerability in FasterXML jackson-databind, a popular Java library for processing JSON data. The vulnerability exists due to a lack of proper bounds checking in primitive value deserializers when the UNWRAP_SINGLE_VALUE_ARRAYS feature is enabled. Attackers can exploit this flaw by crafting malicious JSON payloads with deeply nested wrapper arrays, leading to stack exhaustion and denial of service conditions.

Jackson-databind is widely used across the Java ecosystem for JSON serialization and deserialization, making this vulnerability particularly impactful for applications that process untrusted JSON input with the vulnerable configuration enabled.

Critical Impact

Applications using jackson-databind with UNWRAP_SINGLE_VALUE_ARRAYS enabled are vulnerable to denial of service attacks through crafted JSON payloads that cause resource exhaustion via deep array nesting.

Affected Products

  • FasterXML jackson-databind versions before 2.13.4.1 and 2.12.17.1
  • Quarkus (all versions using vulnerable jackson-databind)
  • Debian Linux 10.0 and 11.0
  • NetApp OnCommand Workflow Automation

Discovery Timeline

  • 2022-10-02 - CVE-2022-42003 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-42003

Vulnerability Analysis

This vulnerability is classified as CWE-502 (Deserialization of Untrusted Data). The flaw resides in the primitive value deserializers within jackson-databind, which fail to implement adequate depth checks when processing nested wrapper arrays. When the UNWRAP_SINGLE_VALUE_ARRAYS deserialization feature is enabled, the library automatically unwraps JSON arrays containing a single element into scalar values. However, the implementation lacks protection against recursive array nesting, allowing attackers to construct payloads with arbitrarily deep array hierarchies.

The attack exploits the recursive nature of the deserialization process. Each nested array level consumes stack frames, and sufficiently deep nesting can exhaust the JVM's stack space, resulting in a StackOverflowError and subsequent denial of service.

Root Cause

The root cause is the absence of a depth limit check in primitive value deserializers when handling the UNWRAP_SINGLE_VALUE_ARRAYS feature. The deserializers recursively process nested arrays without tracking or limiting the recursion depth, allowing unbounded stack consumption. This oversight permits maliciously crafted JSON documents to trigger uncontrolled recursion during deserialization.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can send a specially crafted JSON payload to any application endpoint that:

  1. Uses a vulnerable version of jackson-databind
  2. Has the UNWRAP_SINGLE_VALUE_ARRAYS feature enabled
  3. Deserializes the attacker-controlled JSON input

The malicious payload consists of deeply nested single-element arrays containing a primitive value at the innermost level. When the deserializer attempts to unwrap these nested arrays, it recurses through each nesting level until stack exhaustion occurs.

text
#3559: Support `null`-valued `Map` fields with "any setter"
 #3568: Change `JsonNode.with(String)` and `withArray(String)` to consider
   argument as `JsonPointer` if valid expression
+#3590: Add check in primitive value deserializers to avoid deep wrapper array
+  nesting wrt `UNWRAP_SINGLE_VALUE_ARRAYS`
 
 2.13.4 (03-Sep-2022)

Source: GitHub Commit for Jackson Databind

The patch adds explicit depth checking in primitive value deserializers to prevent unbounded recursion when unwrapping single-value arrays.

Detection Methods for CVE-2022-42003

Indicators of Compromise

  • Unexpected StackOverflowError exceptions in application logs during JSON deserialization
  • Abnormally large or deeply nested JSON payloads in HTTP request logs
  • Application crashes or unresponsive behavior following JSON processing requests
  • Memory and CPU spikes correlated with JSON deserialization operations

Detection Strategies

  • Monitor application logs for java.lang.StackOverflowError exceptions in jackson-databind call stacks
  • Implement request payload size limits and JSON depth validation at the API gateway or application layer
  • Use Software Composition Analysis (SCA) tools to identify vulnerable jackson-databind versions in your dependency tree
  • Deploy web application firewalls with rules to detect and block anomalously nested JSON structures

Monitoring Recommendations

  • Configure alerts for elevated error rates related to JSON parsing or deserialization failures
  • Monitor JVM metrics for unusual stack memory consumption patterns
  • Implement logging for deserialization operations that exceed expected depth thresholds
  • Track dependency versions across your application portfolio to identify systems running vulnerable jackson-databind releases

How to Mitigate CVE-2022-42003

Immediate Actions Required

  • Upgrade jackson-databind to version 2.13.4.1 or 2.12.17.1 or later immediately
  • Audit your codebase for usage of the UNWRAP_SINGLE_VALUE_ARRAYS deserialization feature
  • Review and update all applications and services that depend on jackson-databind
  • Implement input validation to reject excessively nested JSON documents before deserialization

Patch Information

FasterXML has released patched versions that add depth checking in primitive value deserializers. The fix is available in jackson-databind versions 2.13.4.1 and 2.12.17.1 and all subsequent releases. The specific commit implementing the fix can be reviewed at the GitHub Commit for Jackson Databind.

Additional security advisories have been issued by downstream distributors including Debian DSA-5283 Security Notice, Debian LTS Announcement November 2022, Gentoo GLSA 202210-21, and NetApp Security Advisory NTAP-20221124-0004.

Workarounds

  • Disable the UNWRAP_SINGLE_VALUE_ARRAYS feature if it is not required for your application functionality
  • Implement pre-deserialization validation to limit JSON document nesting depth
  • Use streaming JSON parsers with manual depth tracking for processing untrusted input
  • Deploy application-layer rate limiting and payload size restrictions to reduce attack surface
bash
# Maven dependency update example
# Update pom.xml to use patched jackson-databind version
# Replace existing version with:
# <dependency>
#   <groupId>com.fasterxml.jackson.core</groupId>
#   <artifactId>jackson-databind</artifactId>
#   <version>2.13.4.1</version>
# </dependency>

# Verify installed version
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/TechFasterxml Jackson Databind

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.33%

  • 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-502
  • Technical References
  • GitHub Issue #3590 for Jackson

  • Debian LTS Announcement November 2022

  • Gentoo GLSA 202210-21

  • NetApp Security Advisory NTAP-20221124-0004

  • Debian DSA-5283 Security Notice
  • Vendor Resources
  • Chromium Issue #51020

  • GitHub Commit for Jackson Databind
  • Related CVEs
  • CVE-2020-35728: Jackson-databind RCE Vulnerability

  • CVE-2020-36187: Jackson-databind Deserialization Flaw

  • CVE-2020-25649: Fasterxml Jackson-databind XXE 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