CVE-2021-22569
Java vulnerability analysis and mitigation

Overview

A potential Denial of Service (DoS) vulnerability (CVE-2021-22569) was discovered in protobuf-java affecting all versions prior to 3.16.1, 3.18.2, and 3.19.2. The vulnerability was discovered through OSS-Fuzz and affects Java Protobufs (including Kotlin and JRuby), while Protobuf 'javalite' users (typically Android) are not affected (OSS-Security).

Technical details

The vulnerability stems from an implementation weakness in how unknown fields are parsed in Java. The issue allowed the interleaving of com.google.protobuf.UnknownFieldSet fields in such a way that they would be processed out of order. The vulnerability has been assigned a CVSS Score of 7.5 (High) (OSS-Security).

Impact

When exploited, a small malicious payload (~800 KB) can occupy the parser for several minutes by creating large numbers of short-lived objects that cause frequent, repeated garbage collection (GC) pauses, leading to a denial of service condition (OSS-Security).

Exploitability

The vulnerability can be triggered by sending a specially crafted message to parse. For reproduction details, the specific inputs that exercise this parsing weakness were identified in the OSS-fuzz issue, though the issue was marked as unreproducible and WontFix'd in the tracking system (OSS-Security).

Mitigation and workarounds

The recommended mitigation is to update to the latest available versions of the affected packages: protobuf-java (3.16.1, 3.18.2, 3.19.2), protobuf-kotlin (3.18.2, 3.19.2), or google-protobuf [JRuby gem] (3.19.2). These versions contain the necessary fixes to address the vulnerability (OSS-Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-76904CRITICAL9.8
  • Java logoJava
  • org.geotools.jdbc:gt-jdbc-postgis
NoYesAug 21, 2026
GHSA-mqjf-5f49-2fjhCRITICAL9.8
  • Java logoJava
  • org.geotools:gt-jdbc-postgis
NoYesAug 21, 2026
CVE-2026-54049HIGH8.7
  • Java logoJava
  • org.sakaiproject.conversations:sakai-conversations-impl
NoNoAug 24, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-54050MEDIUM6.5
  • Java logoJava
  • org.sakaiproject.profile2:profile2-api
NoYesAug 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management