CVE-2022-3509
JSON

7.5high

Parsing issue in protobuf textformat

Severity
7.5high CVSS:3.1 by Google
Exploit likelihood
0.97% (higher than 62% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Google
Also known as
GHSA-g5ww-5jh7-63cx

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

Product or packageVersionsReported by
Google ProtocolBuffersfrom 3.21.0 before 3.21.7, from 3.20.0 before 3.20.3, from 3.19.0 before 3.19.6, from 3.16.0 before 3.16.3CVE List
com.google.protobuf:protobuf-java (Maven)from 3.0.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.7GitHub Advisory Database
com.google.protobuf:protobuf-javalite (Maven)from 3.20.0 before 3.20.3, from 3.21.0 before 3.21.7, from 3.0.0 before 3.16.3GitHub Advisory Database
google protobuf-javafrom 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.7NVD
google protobuf-javalitefrom 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.7NVD

All scores

Google7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-400

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Un problema de análisis similar a CVE-2022-3171, pero con formato de texto en las versiones core y lite de protobuf-java anteriores a 3.21.7, 3.20.3, 3.19.6 y 3.16.3 puede provocar un ataque de Denegación de Servicio (DoS). Las entradas que contienen múltiples instancias de mensajes incrustados no repetidos con campos repetidos o desconocidos hacen que los objetos se conviertan de un lado a otro entre formas mutables e inmutables, lo que resulta en pausas de recolección de basura potencialmente largas. Recomendamos actualizar a las versiones mencionadas anteriormente.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-3509 changed 2025-04-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-g5ww-5jh7-63cx changed 2026-09-10CC-BY-4.0
NVDCVE-2022-3509 changed 2026-06-17Public domain