Vulnerability · Published Nov 1, 2022 · Assigned by Google

CVE-2022-3509Parsing issue in protobuf textformat

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 1.0% (higher than 62% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.0%top 38.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12protobuf3.21.9-3DEBIAN-CVE-2022-3509
Debian:13protobuf3.21.9-3DEBIAN-CVE-2022-3509
Debian:14protobuf3.21.9-3DEBIAN-CVE-2022-3509
Mavencom.google.protobuf:protobuf-java3.21.7GHSA-g5ww-5jh7-63cx
Mavencom.google.protobuf:protobuf-java3.16.3GHSA-g5ww-5jh7-63cx
Mavencom.google.protobuf:protobuf-java3.19.6GHSA-g5ww-5jh7-63cx
Mavencom.google.protobuf:protobuf-java3.20.3GHSA-g5ww-5jh7-63cx
Mavencom.google.protobuf:protobuf-javalite3.16.3GHSA-g5ww-5jh7-63cx
Mavencom.google.protobuf:protobuf-javalite3.21.7GHSA-g5ww-5jh7-63cx
Mavencom.google.protobuf:protobuf-javalite3.20.3GHSA-g5ww-5jh7-63cx

Affected products (as reported)

VendorProductVersions
Google 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

References