Vulnerability · Published Nov 11, 2022 · Assigned by Google
CVE-2022-3510Parsing issue in protobuf message-type extension
High 7.5
In plain English
A high-severity uncontrolled resource consumption in ProtocolBuffers from Google. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | protobuf | 3.21.9-3 | DEBIAN-CVE-2022-3510 |
| Debian:13 | protobuf | 3.21.9-3 | DEBIAN-CVE-2022-3510 |
| Debian:14 | protobuf | 3.21.9-3 | DEBIAN-CVE-2022-3510 |
| Maven | com.google.protobuf:protobuf-java | 3.21.7 | GHSA-4gg5-vx3j-xwc7 |
| Maven | com.google.protobuf:protobuf-java | 3.19.6 | GHSA-4gg5-vx3j-xwc7 |
| Maven | com.google.protobuf:protobuf-java | 3.20.3 | GHSA-4gg5-vx3j-xwc7 |
| Maven | com.google.protobuf:protobuf-java | 3.16.3 | GHSA-4gg5-vx3j-xwc7 |
| Maven | com.google.protobuf:protobuf-javalite | 3.20.3 | GHSA-4gg5-vx3j-xwc7 |
| Maven | com.google.protobuf:protobuf-javalite | 3.16.3 | GHSA-4gg5-vx3j-xwc7 |
| Maven | com.google.protobuf:protobuf-javalite | 3.19.6 | GHSA-4gg5-vx3j-xwc7 |
| Maven | com.google.protobuf:protobuf-javalite | 3.21.7 | GHSA-4gg5-vx3j-xwc7 |
| Ubuntu:22.04:LTS | protobuf | no fix listed | UBUNTU-CVE-2022-3510 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ProtocolBuffers | 3.21.0 – before 3.21.73.20.0 – before 3.20.33.19.0 – before 3.19.63.16.0 – before 3.16.3 |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H