CVE-2022-3509
Description
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.
How to fix
- google protobuf-java3.16.3, 3.19.6, 3.20.3, 3.21.7 or later
- google protobuf-javalite3.16.3, 3.19.6, 3.20.3, 3.21.7 or later
- com.google.protobuf:protobuf-java3.16.3, 3.19.6, 3.20.3, 3.21.7 or later
- com.google.protobuf:protobuf-javalite3.20.3, 3.21.7, 3.16.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| google protobuf-java | 3.16.0 ≤ v < 3.16.3, 3.19.0 ≤ v < 3.19.6, 3.20.0 ≤ v < 3.20.3, 3.21.0 ≤ v < 3.21.7 | 3.16.3, 3.19.6, 3.20.3, 3.21.7 |
| google protobuf-javalite | 3.16.0 ≤ v < 3.16.3, 3.17.0 ≤ v < 3.19.6, 3.20.0 ≤ v < 3.20.3, 3.21.0 ≤ v < 3.21.7 | 3.16.3, 3.19.6, 3.20.3, 3.21.7 |
| com.google.protobuf:protobuf-javaMaven | 3.0.0 ≤ v < 3.16.3, 3.17.0 ≤ v < 3.19.6, 3.20.0 ≤ v < 3.20.3, 3.21.0 ≤ v < 3.21.7 | 3.16.3, 3.19.6, 3.20.3, 3.21.7 |
| com.google.protobuf:protobuf-javaliteMaven | 3.20.0 ≤ v < 3.20.3, 3.21.0 ≤ v < 3.21.7, 3.0.0 ≤ v < 3.16.3 | 3.20.3, 3.21.7, 3.16.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.