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

CVE-2021-22569: Google Protobuf DoS Vulnerability

CVE-2021-22569 is a denial of service flaw in Google protobuf-java that allows attackers to cause parser delays through malicious payloads. This article covers the technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2021-22569 Overview

An issue in protobuf-java allowed the interleaving of com.google.protobuf.UnknownFieldSet fields in such a way that would be processed out of order. A small malicious payload can occupy the parser for several minutes by creating large numbers of short-lived objects that cause frequent, repeated pauses. This Denial of Service vulnerability affects applications using protobuf-java, protobuf-kotlin, and google-protobuf (Ruby) libraries, as well as downstream Oracle products that incorporate these components.

Critical Impact

Attackers can craft malicious protobuf payloads that cause resource exhaustion through algorithmic complexity, leading to extended parser occupation and application unavailability.

Affected Products

  • Google protobuf-java (multiple versions)
  • Google protobuf-kotlin (multiple versions)
  • Google google-protobuf (Ruby gem)
  • Oracle Communications Cloud Native Core Console 1.9.0
  • Oracle Communications Cloud Native Core Network Repository Function 1.15.0 and 1.15.1
  • Oracle Communications Cloud Native Core Policy 1.15.0
  • Oracle Spatial and Graph MapViewer 19c and 21c

Discovery Timeline

  • 2022-01-10 - CVE CVE-2021-22569 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-22569

Vulnerability Analysis

This vulnerability represents a Denial of Service (DoS) attack vector through algorithmic complexity exploitation. The protobuf-java parser contains a flaw in how it handles UnknownFieldSet fields when they are interleaved within a message. By carefully crafting a protobuf message with specific field ordering patterns, an attacker can trigger excessive object creation and garbage collection cycles within the Java Virtual Machine.

The attack is particularly concerning because it requires only a small malicious payload to achieve significant impact. The parser becomes occupied for extended periods—potentially several minutes—processing what should be a trivial message. This behavior stems from the creation of large numbers of short-lived objects that trigger frequent garbage collection pauses, effectively causing CPU exhaustion.

The vulnerability requires local access with user interaction, meaning an attacker would need to convince a user to process a malicious protobuf file or deliver the payload through an application that accepts protobuf input from users.

Root Cause

The root cause lies in improper handling of field ordering within the UnknownFieldSet class in protobuf-java. The parser does not adequately validate or limit the processing complexity when unknown fields are interleaved in a specific sequence. This maps to CWE-696 (Incorrect Behavior Order) where the processing order of interleaved fields creates an exploitable condition that results in resource exhaustion.

Attack Vector

The attack requires local access where the attacker crafts a malicious protobuf message with carefully interleaved UnknownFieldSet fields. When a vulnerable application parses this message, the parser enters a state where it repeatedly creates and discards short-lived objects. This triggers frequent garbage collection cycles in the JVM, causing the application to become unresponsive.

The attack flow involves:

  1. Attacker crafts a small protobuf payload with specifically ordered unknown fields
  2. The malicious payload is delivered to an application using vulnerable protobuf-java libraries
  3. When parsed, the interleaved field structure causes excessive object allocation
  4. JVM garbage collection is triggered repeatedly, consuming CPU resources
  5. The application becomes unresponsive for an extended period (potentially minutes)

Detection Methods for CVE-2021-22569

Indicators of Compromise

  • Unusually high CPU utilization in Java applications processing protobuf messages
  • Extended garbage collection pauses visible in JVM logs or monitoring
  • Application unresponsiveness when processing specific protobuf payloads
  • Heap memory pressure spikes during message parsing operations

Detection Strategies

  • Monitor JVM garbage collection metrics for applications using protobuf-java libraries
  • Implement application performance monitoring (APM) to detect parser hang conditions
  • Review application logs for timeout exceptions during protobuf message processing
  • Scan dependency manifests for vulnerable versions of protobuf-java, protobuf-kotlin, or google-protobuf

Monitoring Recommendations

  • Enable JVM GC logging to capture garbage collection frequency and duration
  • Configure alerting thresholds for CPU utilization anomalies in protobuf-processing services
  • Implement request timeout mechanisms for endpoints that accept protobuf input
  • Deploy software composition analysis (SCA) tools to identify vulnerable library versions

How to Mitigate CVE-2021-22569

Immediate Actions Required

  • Upgrade protobuf-java and protobuf-kotlin libraries to patched versions
  • Review application dependencies for transitive inclusions of vulnerable protobuf libraries
  • Implement input validation and size limits for protobuf message processing
  • Consider deploying request timeouts as a temporary mitigation measure

Patch Information

Google has released patches addressing this vulnerability. Organizations should upgrade their protobuf-java and related libraries beyond the vulnerable versions. For specific version information, refer to the Google Cloud Security Bulletin. Oracle customers should apply the fixes provided in the Oracle Critical Patch Update April 2022 for affected Oracle products.

Additional security advisories and technical details are available from OpenWall OSS Security and the Chromium OSS-Fuzz Issue #39330.

Workarounds

  • Implement strict message size limits before parsing protobuf input
  • Add timeout mechanisms around protobuf parsing operations to prevent extended hangs
  • Deploy rate limiting on endpoints that accept protobuf messages from untrusted sources
  • Consider isolating protobuf processing in separate worker threads with resource constraints
bash
# Configuration example - Maven dependency update
# Update pom.xml to use patched protobuf-java version
mvn versions:use-latest-versions -Dincludes=com.google.protobuf:protobuf-java

# Verify updated dependencies
mvn dependency:tree | grep protobuf

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGoogle Protobuf

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.33%

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

  • NVD-CWE-noinfo
  • Technical References
  • OpenWall OSS Security Update

  • OpenWall OSS Security Update

  • Debian LTS Announcement April 2023
  • Vendor Resources
  • Chromium OSS-Fuzz Issue #39330

  • Google Cloud Security Bulletin

  • Oracle Critical Patch Update April 2022
  • Related CVEs
  • CVE-2024-7254: Google Protobuf DOS Vulnerability

  • CVE-2022-3510: Google Protobuf-java DoS Vulnerability

  • CVE-2024-24786: Protobuf JSON Unmarshal DoS Vulnerability

  • CVE-2022-3171: Google Protobuf 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