6.5medium
Nullptr Dereference in Protobuf
- Severity
- 6.5medium CVSS:3.1 by Google
- Exploit likelihood
- 2.51% (higher than 85% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Also known as
- GHSA-77rm-9x9h-xj3gPYSEC-2022-48
Description
Nullptr dereference when a null char is present in a proto symbol. The symbol is parsed incorrectly, leading to an unchecked call into the proto file's name during generation of the resulting error message. Since the symbol is incorrectly parsed, the file is nullptr. We recommend upgrading to version 3.15.0 or greater.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Google LLC Protobuf | from unspecified before 3.15.0 | CVE List |
| Google.Protobuf (NuGet) | before 3.15.0 | GitHub Advisory Database |
| google/protobuf (Packagist) | before 3.15.0 | GitHub Advisory Database |
| com.google.protobuf:protobuf-java (Maven) | before 3.15.0 | GitHub Advisory Database |
| github.com/protocolbuffers/protobuf (Go) | before 0.0.0-20210218195015-ae50d9b99025, from 0.0.0 before 3.15.0 | GitHub Advisory Database |
| protobuf (PyPI) | before 3.15.0 | GitHub Advisory Database, PyPA Advisory Database |
| google protobuf | before 3.15.0 | NVD |
| debian debian_linux | 9.0, 10.0, 11.0 | NVD |
| fedoraproject fedora | 34, 35, 36 | NVD |
| oracle mysql | up to 8.0.28 | NVD |
| netapp active_iq_unified_manager | Not specified | NVD |
| netapp oncommand_insight | Not specified | NVD |
| netapp oncommand_workflow_automation | Not specified | NVD |
| netapp snapcenter | Not specified | NVD |
All scores
| 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/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 |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.1low CVSS:2.0 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Nullptr dereference when a null char is present in a proto symbol. The symbol is parsed incorrectly, leading to an unchecked call into the proto file's name during generation of the resulting error message. Since the symbol is incorrectly parsed, the file is nullptr. We recommend upgrading to version 3.15.0 or greater.
GitHub Advisory Database
Withdrawn Advisory
This advisory has been withdrawn because the protobuf vulnerability comes from the compiler rather that the code. This link is maintained to preserve external references.
Original Description
Nullptr dereference when a null char is present in a proto symbol. The symbol is parsed incorrectly, leading to an unchecked call into the proto file's name during generation of the resulting error message. Since the symbol is incorrectly parsed, the file is nullptr. We recommend upgrading to version 3.15.0 or greater.
NVD (es)
Una desreferencia de puntero Null cuando un char nulo está presente en un símbolo proto. El símbolo es analizado incorrectamente, conllevando a una llamada no comprobada al nombre del archivo proto durante la generación del mensaje de error resultante. Como el símbolo es analizado incorrectamente, el archivo es nullptr. Es recomendado actualizar a versión 3.15.0 o superior
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22570 changed 2025-04-21 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-77rm-9x9h-xj3g changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-22570 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2022-48 changed 2026-01-28 | CC-BY-4.0 |