Parsing issue in protobuf textformat
Google ProtocolBuffers
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| com.google.protobuf:protobuf-java Maven |
|
|
Google ProtocolBuffers
| Product | Affected | Fixed in |
|---|---|---|
| com.google.protobuf:protobuf-java Maven |
|
|
| com.google.protobuf:protobuf-javalite Maven |
|
|
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.
From the CVE record · Google
Textformat parsing in affected protobuf-java and protobuf-javalite versions can cause long garbage-collection pauses when processing input with multiple non-repeated embedded messages containing repeated or unknown fields. An attacker who can supply such input may cause a denial of service; the input does not specify whether authentication or user interaction is required.
Check applications using Maven com.google.protobuf:protobuf-java versions >=3.0.0 <3.16.3, >=3.17.0 <3.19.6, >=3.20.0 <3.20.3, or >=3.21.0 <3.21.7, or com.google.protobuf:protobuf-javalite versions >=3.0.0 <3.16.3, >=3.20.0 <3.20.3, or >=3.21.0 <3.21.7.