high7.5
CVE-2022-3510
Protobuf Java vulnerable to Uncontrolled Resource Consumption
Impact
A parsing issue similar to CVE-2022-3171, but with Message-Type Extensions 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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.google.protobuf:protobuf-java | >= 3.17.0, < 3.19.6 | 3.19.6 |
| maven | com.google.protobuf:protobuf-javalite | >= 3.17.0, < 3.19.6 | 3.19.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Protobuf-Java | from 3.16.0 before 3.16.3 from 3.19.0 before 3.19.6 from 3.20.0 before 3.20.3 from 3.21.0 before 3.21.7 | |
| Protobuf-Javalite | from 3.16.0 before 3.16.3 from 3.17.0 before 3.19.6 from 3.20.0 before 3.20.3 from 3.21.0 before 3.21.7 |