CVE-2022-3509Parsing issue in protobuf textformat
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | protobuf | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | protobuf | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-3509 | |
| Ubuntu 14.04 | protobuf | Fix pending | UBUNTU-CVE-2022-3509 | |
| Debian 14 | protobuf | Fixed | 3.21.9-3 | DEBIAN-CVE-2022-3509 |
| Debian 13 | protobuf | Fixed | 3.21.9-3 | DEBIAN-CVE-2022-3509 |
| Debian 12 | protobuf | Fixed | 3.21.9-3 | DEBIAN-CVE-2022-3509 |
| Red Hat Enterprise Linux 9 | log4j | Not affected | ||
| Red Hat Enterprise Linux 9 | log4j-jcl | Not affected | ||
| Red Hat Enterprise Linux 9 | log4j-slf4j | Not affected | ||
| Red Hat Enterprise Linux 8 | log4j | Not affected | ||
| Red Hat Enterprise Linux 8 | log4j-jcl | Not affected | ||
| Red Hat Enterprise Linux 8 | log4j-slf4j | Not affected | ||
| Red Hat Enterprise Linux 8 | log4j-web | Not affected | ||
| Maven library | com.google.protobuf:protobuf-java | Fixed | 3.20.3 | GHSA-g5ww-5jh7-63cx |
| Maven library | com.google.protobuf:protobuf-javalite | Fixed | 3.16.3 | GHSA-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.
- Google ProtocolBuffers: affected: 3.21.0 to before 3.21.7, 3.20.0 to before 3.20.3, 3.19.0 to before 3.19.6, 3.16.0 to before 3.16.3; fixed in
3.21.7,3.20.3,3.19.6,3.16.3
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.