CVE-2021-22570Google Protobuf
Medium 5.5
Follow: this CVE · Google · Google Protobuf We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 86
- Auth required
- Yes
- Published
- Jan 26, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-476
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Protobuf.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | protobuf |
< 3.15.0 |
3.15.0 |
pip install "protobuf>=3.15.0" |
Per OSV / GitHub Advisories (PYSEC-2022-48). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| protobuf | < 3.15.0 | |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| oracle | mysql | ≤ 8.0.28 |
| netapp | active_iq_unified_manager | all |
| netapp | active_iq_unified_manager | all |
| netapp | oncommand_insight | all |
| netapp | oncommand_workflow_automation | all |
| netapp | snapcenter | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com Third Party Advisory
- www.oracle.com Third Party Advisory