CVEfocus › CVE database › CVE-2022-3509

CVE-2022-3509Parsing issue in protobuf textformat

CVSS 7.5 HighEPSS 0.5% (higher than 39% of CVEs)Published 2022-11-01Updated 2025-04-22Assigner: Google

A parsing issue similar to CVE-2022-3171, but with textformat 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-400

What to do

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

5Fixed
1Fix pending
1Will not fix
8Not affected

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.04protobufNot affected
vulnerable_code_not_present
Ubuntu 16.04protobufWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-3509
Ubuntu 14.04protobufFix pendingUBUNTU-CVE-2022-3509
Debian 14protobufFixed3.21.9-3DEBIAN-CVE-2022-3509
Debian 13protobufFixed3.21.9-3DEBIAN-CVE-2022-3509
Debian 12protobufFixed3.21.9-3DEBIAN-CVE-2022-3509
Red Hat Enterprise Linux 9log4jNot affected
Red Hat Enterprise Linux 9log4j-jclNot affected
Red Hat Enterprise Linux 9log4j-slf4jNot affected
Red Hat Enterprise Linux 8log4jNot affected
Red Hat Enterprise Linux 8log4j-jclNot affected
Red Hat Enterprise Linux 8log4j-slf4jNot affected
Red Hat Enterprise Linux 8log4j-webNot affected
Maven librarycom.google.protobuf:protobuf-javaFixed3.20.3GHSA-g5ww-5jh7-63cx
Maven librarycom.google.protobuf:protobuf-javaliteFixed3.16.3GHSA-g5ww-5jh7-63cx

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.