CVEfocus › CVE database › CVE-2021-22569

CVE-2021-22569Denial of Service of protobuf-java parsing procedure

CVSS 7.5 HighEPSS 1.8% (higher than 79% of CVEs)Published 2022-01-07Updated 2025-04-21Assigner: Google

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. We recommend upgrading libraries beyond the vulnerable versions.

CWE-696

What to do

Fixed builds are available from Debian, Maven, RubyGems, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
1Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04protobufFixed3.12.4-1ubuntu7.22.04.1UBUNTU-CVE-2021-22569
Ubuntu 20.04protobufFixed3.6.1.3-2ubuntu5.2UBUNTU-CVE-2021-22569
Ubuntu 18.04protobufFixed3.0.0-9.1ubuntu1.1UBUNTU-CVE-2021-22569
Ubuntu 16.04protobufWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-22569
Ubuntu 14.04protobufFix pending2.5.0-9ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-22569
Debian 14protobufFixed3.21.9-3DEBIAN-CVE-2021-22569
Debian 13protobufFixed3.21.9-3DEBIAN-CVE-2021-22569
Debian 12protobufFixed3.21.9-3DEBIAN-CVE-2021-22569
Maven librarycom.google.protobuf:protobuf-javaFixed3.18.2GHSA-wrvw-hg22-4m67
Maven librarycom.google.protobuf:protobuf-kotlinFixed3.19.2GHSA-wrvw-hg22-4m67
RubyGems librarygoogle-protobufFixed3.19.2GHSA-wrvw-hg22-4m67

What the vendor says

As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.