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
- 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 package | Versions | Reported by |
|---|---|---|
| Google ProtocolBuffers | from 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.3 | CVE 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.7 | GitHub 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.3 | GitHub Advisory Database |
| google protobuf-java | from 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.7 | NVD |
| google protobuf-javalite | from 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.7 | NVD |
All scores
| 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-3509 changed 2025-04-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g5ww-5jh7-63cx changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2022-3509 changed 2026-06-17 | Public domain |