CVEfocus › CVE database › CVE-2022-3171

CVE-2022-3171Memory handling vulnerability in ProtocolBuffers Java core and lite

CVSS 4.3 MediumEPSS 1.0% (higher than 61% of CVEs)Published 2022-10-12Updated 2025-04-21Assigner: Google

A parsing issue with binary data in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above.

CWE-20

What to do

Fixed builds are available from Debian, Maven, RubyGems: 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

8Fixed
3Fix pending
2Will 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.04protobufWill not fix
patch is possibly a3888f5 The changes required to fix this issue in Ubuntu stable releases are too intrusive to be backported. We will not be releasing…
UBUNTU-CVE-2022-3171
Ubuntu 20.04protobufFix pendingUBUNTU-CVE-2022-3171
Ubuntu 18.04protobufFix pendingUBUNTU-CVE-2022-3171
Ubuntu 16.04protobufWill not fix
patch is possibly a3888f5 The changes required to fix this issue in Ubuntu stable releases are too intrusive to be backported. We will not be releasing…
UBUNTU-CVE-2022-3171
Ubuntu 14.04protobufFix pendingUBUNTU-CVE-2022-3171
Debian 14protobufFixed3.21.9-3DEBIAN-CVE-2022-3171
Debian 13protobufFixed3.21.9-3DEBIAN-CVE-2022-3171
Debian 12protobufFixed3.21.9-3DEBIAN-CVE-2022-3171
Maven librarycom.google.protobuf:protobuf-javaFixed3.16.3GHSA-h4h5-3hr4-j3g2
Maven librarycom.google.protobuf:protobuf-javaliteFixed3.20.3GHSA-h4h5-3hr4-j3g2
Maven librarycom.google.protobuf:protobuf-kotlinFixed3.19.6GHSA-h4h5-3hr4-j3g2
Maven librarycom.google.protobuf:protobuf-kotlin-liteFixed3.20.3GHSA-h4h5-3hr4-j3g2
RubyGems librarygoogle-protobufFixed3.19.6GHSA-h4h5-3hr4-j3g2

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.

Vendor advisories:

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.