CVE-2021-22570: Nullptr Dereference in Protobuf

Published Jan 26, 2022
·
Updated

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.

Other sources

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.

https://github.com/protocolbuffers/protobuf/releases/tag/v3.15.0

— Red Hat

Affected Software

21 affected componentsFixes available
redhat/protobuf<3.15.0
3.15.0
Google 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 Vmware Vsphere
NetApp Active Iq Unified Manager Windows
NetApp OnCommand Insight
NetApp OnCommand Workflow Automation
NetApp Snapcenter
go/github.com/protocolbuffers/protobuf>=0.0.0<3.15.0
3.15.0
go/github.com/protocolbuffers/protobuf<0.0.0-20210218195015-ae50d9b99025
0.0.0-20210218195015-ae50d9b99025
maven/com.google.protobuf:protobuf-java<3.15.0
3.15.0
pip/protobuf<3.15.0
3.15.0
composer/google/protobuf<3.15.0
3.15.0
nuget/google.protobuf<3.15.0
3.15.0
debian/protobuf
3.17.1-13.6.1.3-2+deb10u13.12.4-1+deb11u13.21.9-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/protobuf to a version that resolves this vulnerability.

    Fixed in 3.15.0
  2. Upgrade

    Upgrade go/github.com/protocolbuffers/protobuf to a version that resolves this vulnerability.

    Fixed in 3.15.0
  3. Upgrade

    Upgrade go/github.com/protocolbuffers/protobuf to a version that resolves this vulnerability.

    Fixed in 0.0.0-20210218195015-ae50d9b99025
  4. Upgrade

    Upgrade maven/com.google.protobuf:protobuf-java to a version that resolves this vulnerability.

    Fixed in 3.15.0
  5. Upgrade

    Upgrade pip/protobuf to a version that resolves this vulnerability.

    Fixed in 3.15.0
  6. Upgrade

    Upgrade composer/google/protobuf to a version that resolves this vulnerability.

    Fixed in 3.15.0
  7. Upgrade

    Upgrade nuget/Google.Protobuf to a version that resolves this vulnerability.

    Fixed in 3.15.0
  8. Upgrade

    Upgrade debian/protobuf to a version that resolves this vulnerability.

    Fixed in 3.17.1-1Fixed in 3.6.1.3-2+deb10u1Fixed in 3.12.4-1+deb11u1Fixed in 3.21.9-3
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.15.0

Event History

Jan 26, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
02:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 27, 2022
Advisory Published
12:01 AM
Event
12:01 AM
Feb 2, 2022
Data Sourced
via Red Hat·09:20 AM
DescriptionSeverityAffected Software
Nov 7, 2023
Data Sourced
via NVD·03:30 AM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·03:30 AM
Affected Software
Oct 21, 2024
Advisory Published
via GitHub·08:58 PM
Data Sourced
via GitHub·08:58 PM
DescriptionSeverityWeaknessAffected Software
Nov 21, 2024
Updated
via NVD·05:50 AM
Affected Software
Jun 24, 2025
Updated
via GitHub·04:23 PM
Affected Software
Jul 8, 2025
Updated
via GitHub·07:34 PM
Affected Software
Aug 25, 2025
Withdrawn
via GitHub·10:36 PM
Updated
via GitHub·10:36 PM
DescriptionAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2021-22570?

The severity of CVE-2021-22570 is high with a CVSS score of 7.5.

2

What is the recommended upgrade for CVE-2021-22570?

We recommend upgrading to version 3.15.0 of com.google.protobuf:protobuf-java.

3

Which software packages are affected by CVE-2021-22570?

The following software packages are affected by CVE-2021-22570: com.google.protobuf:protobuf-java, protobuf, github.com/protocolbuffers/protobuf, google/protobuf, Google Protobuf, Debian Debian Linux, Fedoraproject Fedora, Oracle MySQL, Apple iPadOS, Apple watchOS, NetApp OnCommand Insight, NetApp OnCommand Workflow Automation, Netapp Snapcenter.

4

Where can I find more information about CVE-2021-22570?

You can find more information about CVE-2021-22570 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-22570), [GitHub](https://github.com/protocolbuffers/protobuf/releases/tag/v3.15.0), [Fedora Project](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IFX6KPNOFHYD6L4XES5PCM3QNSKZBOTQ/).

5

What is the CWE category of CVE-2021-22570?

The CWE category of CVE-2021-22570 is CWE-476 (NULL Pointer Dereference).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203