CVE-2021-22570: Nullptr Dereference in Protobuf

Published Jan 26, 2022
·
Updated

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 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
go/github.com/protocolbuffers/protobuf>=0.0.0<3.15.0
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
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 27, 2022
Advisory Published
via GitHub·12:01 AM
Data Sourced
via GitHub·12:01 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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