{"id":"CVE-2021-22570","aliases":["CVE-2021-22570","GHSA-77rm-9x9h-xj3g","PYSEC-2022-48"],"related":[],"kind":"vulnerability","state":"published","title":"Nullptr Dereference in Protobuf","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Withdrawn Advisory\n\nThis advisory has been withdrawn because the protobuf vulnerability comes from the compiler rather that the code. This link is maintained to preserve external references.\n\n### Original Description\n\nNullptr 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una desreferencia de puntero Null cuando un char nulo está presente en un símbolo proto. El símbolo es analizado incorrectamente, conllevando a una llamada no comprobada al nombre del archivo proto durante la generación del mensaje de error resultante. Como el símbolo es analizado incorrectamente, el archivo es nullptr. Es recomendado actualizar a versión 3.15.0 o superior","source":"nvd"}],"published":"2022-01-26T00:00:00.000Z","modified":"2026-09-10T03:49:11.266Z","severity":{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","score":2.1,"rating":"LOW"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.15.0","status":"affected"}],"vendor":"Google LLC","product":"Protobuf","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.15.0"}],"ecosystem":"NuGet","package":"Google.Protobuf","purl":"pkg:nuget/Google.Protobuf","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.15.0"}],"ecosystem":"Packagist","package":"google/protobuf","purl":"pkg:composer/google/protobuf","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.15.0"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20210218195015-ae50d9b99025"}],"ecosystem":"Go","package":"github.com/protocolbuffers/protobuf","purl":"pkg:golang/github.com/protocolbuffers/protobuf","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.15.0"}],"ecosystem":"PyPI","package":"protobuf","purl":"pkg:pypi/protobuf","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected","fixed":"3.15.0"}],"ecosystem":"Go","package":"github.com/protocolbuffers/protobuf","purl":"pkg:golang/github.com/protocolbuffers/protobuf","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.15.0"}],"vendor":"google","product":"protobuf","cpe":"cpe:2.3:a:google:protobuf:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"34"},{"status":"affected","version":"35"},{"status":"affected","version":"36"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"8.0.28"}],"vendor":"oracle","product":"mysql","cpe":"cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"active_iq_unified_manager","cpe":"cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"oncommand_insight","cpe":"cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"oncommand_workflow_automation","cpe":"cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"snapcenter","cpe":"cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.15.0"}],"ecosystem":"PyPI","package":"protobuf","purl":"pkg:pypi/protobuf","source":"pysec"}],"references":[{"url":"https://github.com/protocolbuffers/protobuf/releases/tag/v3.15.0","tags":["release-notes","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IFX6KPNOFHYD6L4XES5PCM3QNSKZBOTQ/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DVUZPALAQ34TQP6KFNLM4IZS6B32XSA/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NVTWVQRB5OCCTMKEQFY5MYED3DXDVSLP/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BTRGBRC5KGCA4SK5MUNLPYJRAGXMBIYY/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5PAGL5M2KGYPN3VEQCRJJE6NA7D5YG5X/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KQJB6ZPRLKV6WCMX2PRRRQBFAOXFBK6B/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRWRAXAFR3JR7XCFWTHC2KALSZKWACCE/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20220429-0005/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22570","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-77rm-9x9h-xj3g","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/protocolbuffers/protobuf","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/protobuf/PYSEC-2022-48.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DVUZPALAQ34TQP6KFNLM4IZS6B32XSA","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5PAGL5M2KGYPN3VEQCRJJE6NA7D5YG5X","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BTRGBRC5KGCA4SK5MUNLPYJRAGXMBIYY","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IFX6KPNOFHYD6L4XES5PCM3QNSKZBOTQ","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KQJB6ZPRLKV6WCMX2PRRRQBFAOXFBK6B","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRWRAXAFR3JR7XCFWTHC2KALSZKWACCE","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NVTWVQRB5OCCTMKEQFY5MYED3DXDVSLP","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20220429-0005","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IFX6KPNOFHYD6L4XES5PCM3QNSKZBOTQ/","tags":["web"],"sources":["pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DVUZPALAQ34TQP6KFNLM4IZS6B32XSA/","tags":["web"],"sources":["pysec"]}],"credits":[],"assigner":"Google","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-21T13:35:59.211Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-22570","url":"https://www.cve.org/CVERecord?id=CVE-2021-22570","licence":"CVE Terms of Use","modified":"2025-04-21T13:56:58.459Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-77rm-9x9h-xj3g","url":"https://github.com/advisories/GHSA-77rm-9x9h-xj3g","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:11.266Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-22570","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22570","licence":"Public domain","modified":"2026-06-17T03:37:26.873Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-48","url":"https://osv.dev/vulnerability/PYSEC-2022-48","licence":"CC-BY-4.0","modified":"2026-01-28T03:41:23.240Z"}],"updatedAt":"2026-11-25T22:58:06.670Z","epss":{"score":0.02514,"percentile":0.85238,"date":"2026-12-01T12:00:22.000Z"}}