Vulnerability · Published Jan 7, 2022 · Assigned by Google

CVE-2021-22569Denial of Service of protobuf-java parsing procedure

High 7.5

In plain English

A high-severity security flaw in google-protobuf [JRuby Gem] from Google LLC. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% 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.8%top 21.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

An issue in protobuf-java allowed the interleaving of com.google.protobuf.UnknownFieldSet fields in such a way that would be processed out of order. A small malicious payload can occupy the parser for several minutes by creating large numbers of short-lived objects that cause frequent, repeated pauses. We recommend upgrading libraries beyond the vulnerable versions.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12protobuf3.21.9-3DEBIAN-CVE-2021-22569
Debian:13protobuf3.21.9-3DEBIAN-CVE-2021-22569
Debian:14protobuf3.21.9-3DEBIAN-CVE-2021-22569
Mavencom.google.protobuf:protobuf-java3.18.2GHSA-wrvw-hg22-4m67
Mavencom.google.protobuf:protobuf-java3.19.2GHSA-wrvw-hg22-4m67
Mavencom.google.protobuf:protobuf-java3.16.1GHSA-wrvw-hg22-4m67
Mavencom.google.protobuf:protobuf-kotlin3.18.2GHSA-wrvw-hg22-4m67
Mavencom.google.protobuf:protobuf-kotlin3.19.2GHSA-wrvw-hg22-4m67
RubyGemsgoogle-protobuf3.19.2GHSA-wrvw-hg22-4m67
Ubuntu:22.04:LTSprotobuf3.12.4-1ubuntu7.22.04.1UBUNTU-CVE-2021-22569
Ubuntu:22.04:LTSprotobuf3.12.4-1ubuntu7.22.04.1USN-5945-1

Affected products (as reported)

VendorProductVersions
Google LLC protobuf-java unspecified – before 3.16.1unspecified – before 3.18.2unspecified – before 3.19.2
Google LLC protobuf-kotlin unspecified – before 3.18.2unspecified – before 3.19.2
Google LLC google-protobuf [JRuby Gem] unspecified – before 3.19.2

Weakness: CWE-696 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References