CVE-2021-22570: Nullptr Dereference in Protobuf
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/protobufto a version that resolves this vulnerability.Fixed in 3.15.0 - Upgrade
Upgrade
go/github.com/protocolbuffers/protobufto a version that resolves this vulnerability.Fixed in 3.15.0 - Upgrade
Upgrade
go/github.com/protocolbuffers/protobufto a version that resolves this vulnerability.Fixed in 0.0.0-20210218195015-ae50d9b99025 - Upgrade
Upgrade
maven/com.google.protobuf:protobuf-javato a version that resolves this vulnerability.Fixed in 3.15.0 - Upgrade
Upgrade
pip/protobufto a version that resolves this vulnerability.Fixed in 3.15.0 - Upgrade
Upgrade
composer/google/protobufto a version that resolves this vulnerability.Fixed in 3.15.0 - Upgrade
Upgrade
nuget/Google.Protobufto a version that resolves this vulnerability.Fixed in 3.15.0 - Upgrade
Upgrade
debian/protobufto 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 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.15.0
Event History
Frequently Asked Questions
What is the severity of CVE-2021-22570?
The severity of CVE-2021-22570 is high with a CVSS score of 7.5.
What is the recommended upgrade for CVE-2021-22570?
We recommend upgrading to version 3.15.0 of com.google.protobuf:protobuf-java.
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.
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/).
What is the CWE category of CVE-2021-22570?
The CWE category of CVE-2021-22570 is CWE-476 (NULL Pointer Dereference).