GitHub Advisory Database
GHSA-77rm-9x9h-xj3g
Withdrawn Advisory: NULL Pointer Dereference in Protocol Buffers
This advisory was withdrawn on 25 August 2025.
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| NuGet | Google.Protobuf | All versions before 3.15.0 (fixed in 3.15.0) |
| Packagist | google/protobuf | All versions before 3.15.0 (fixed in 3.15.0) |
| Maven | com.google.protobuf:protobuf-java | All versions before 3.15.0 (fixed in 3.15.0) |
| Go | github.com/protocolbuffers/protobuf | All versions before 0.0.0-20210218195015-ae50d9b99025 (fixed in 0.0.0-20210218195015-ae50d9b99025) |
| PyPI | protobuf | All versions before 3.15.0 (fixed in 3.15.0) |
| Go | github.com/protocolbuffers/protobuf | From 0.0.0 before 3.15.0 (fixed in 3.15.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-22570
- https://github.com/advisories/GHSA-77rm-9x9h-xj3g
- https://github.com/protocolbuffers/protobuf
- https://github.com/protocolbuffers/protobuf/releases/tag/v3.15.0
- https://github.com/pypa/advisory-database/tree/main/vulns/protobuf/PYSEC-2022-48.yaml
- https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3DVUZPALAQ34TQP6KFNLM4IZS6B32XSA
- https://lists.fedoraproject.org/archives/list/[email protected]/message/5PAGL5M2KGYPN3VEQCRJJE6NA7D5YG5X
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BTRGBRC5KGCA4SK5MUNLPYJRAGXMBIYY
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IFX6KPNOFHYD6L4XES5PCM3QNSKZBOTQ
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KQJB6ZPRLKV6WCMX2PRRRQBFAOXFBK6B
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MRWRAXAFR3JR7XCFWTHC2KALSZKWACCE
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NVTWVQRB5OCCTMKEQFY5MYED3DXDVSLP
- https://security.netapp.com/advisory/ntap-20220429-0005
- https://www.oracle.com/security-alerts/cpuapr2022.html