{"answers":{"affected":"13 open source packages ship an affected version, including github.com/protocolbuffers/protobuf, com.google.protobuf:protobuf-java and Google.Protobuf. It affects 8 products.","exploited":"There is no known exploitation of CVE-2021-22570 in the wild and no public exploit code.","fix":"Upgrade github.com/protocolbuffers/protobuf to a fixed version for your release line: 0.0.0-20210218195015-ae50d9b99025 or 3.15.0.","what":"CVE-2021-22570 is a medium-severity vulnerability in Debian Debian Linux, published on 26 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-22570 and fix it if it is affected.\n\nWhat it is: CVE-2021-22570 is a medium-severity vulnerability in Debian Debian Linux, published on 26 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-22570 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/protocolbuffers/protobuf (Go): affected all versions; fixed in 0.0.0-20210218195015-ae50d9b99025\n- github.com/protocolbuffers/protobuf (Go): affected all versions; fixed in 0.0.0-20210218195015-ae50d9b99025\n- github.com/protocolbuffers/protobuf (Go): affected from 0.0.0; fixed in 3.15.0\n- github.com/protocolbuffers/protobuf (Go): affected from 0.0.0; fixed in 3.15.0\n- com.google.protobuf:protobuf-java (Maven): affected all versions; fixed in 3.15.0\n- com.google.protobuf:protobuf-java (Maven): affected all versions; fixed in 3.15.0\n- Google.Protobuf (NuGet): affected all versions; fixed in 3.15.0\n- Google.Protobuf (NuGet): affected all versions; fixed in 3.15.0\n- google/protobuf (Packagist): affected all versions; fixed in 3.15.0\n- google/protobuf (Packagist): affected all versions; fixed in 3.15.0\n- protobuf (PyPI): affected all versions; fixed in 3.15.0\n- protobuf (PyPI): affected all versions; fixed in 3.15.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-22570/ (Markdown: https://insights.sbomify.com/CVE-2021-22570/index.md)","id":"CVE-2021-22570","markdown":"https://insights.sbomify.com/CVE-2021-22570/index.md","name":"CVE-2021-22570","record":{"aliases":["ALSA-2022:7464","ALSA-2022:7970","AZL-9830","CLEANSTART-2026-GA54121","DEBIAN-CVE-2021-22570","GHSA-77rm-9x9h-xj3g","OESA-2022-2106","PYSEC-2022-48","RHSA-2022:7464","RHSA-2022:7970","RHSA-2022:8847","RHSA-2022:8860","RHSA-2024:3433","RLSA-2022:7464","RLSA-2022:7970","ROOT-APP-MAVEN-CVE-2021-22570","SUSE-SU-2022:1040-1","SUSE-SU-2022:1040-2","SUSE-SU-2022:1040-3","UBUNTU-CVE-2021-22570","USN-5490-1","openSUSE-SU-2022:0823-1","openSUSE-SU-2022:1040-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Protobuf library","requires_auth":"low_privilege","summary":"A null pointer dereference in Protobuf allows attackers to cause a denial of service by providing a malformed proto symbol with a null character.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"protobuf","vendor":"google"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"oncommand_insight","vendor":"netapp"},{"product":"oncommand_workflow_automation","vendor":"netapp"},{"product":"snapcenter","vendor":"netapp"},{"product":"mysql","vendor":"oracle"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"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.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Go","Maven","NuGet","Packagist","PyPI","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:openstack:16.1::el8","Red Hat:openstack:16.2::el8","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:8.6::crb","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise Installer Updates 15 SP2","SUSE:Linux Enterprise Micro 5.0","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Development Tools 15 SP3","SUSE:Linux Enterprise Module for Package Hub 15 SP3","SUSE:Linux Enterprise Module for Package Hub 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 15 SP2","SUSE:Linux Enterprise Module for Public Cloud 15 SP3","SUSE:Linux Enterprise Real Time 15 SP2","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:Manager Server Module 4.1","SUSE:Manager Server Module 4.2","SUSE:Manager Server Module 4.3","openSUSE:Leap 15.3"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Nullptr Dereference in Protobuf","id":"CVE-2021-22570","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora","netapp:active_iq_unified_manager","netapp:oncommand_insight","netapp:oncommand_workflow_automation","netapp:snapcenter","oracle:mysql"],"type":"null_dereference","year":"2021"},"n_packages":98,"n_references":11,"next":{"headline":"Information Leak in SA360-webquery-bigquery through read on /tmp","id":"CVE-2021-22571"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20210218195015-ae50d9b99025"],"introduced":["0"],"last_affected":[],"package":"github.com/protocolbuffers/protobuf","purl":null,"source":"GHSA-77rm-9x9h-xj3g"},{"ecosystem":"Go","fixed":["0.0.0-20210218195015-ae50d9b99025"],"introduced":["0"],"last_affected":[],"package":"github.com/protocolbuffers/protobuf","purl":"pkg:golang/github.com/protocolbuffers/protobuf","source":"GHSA-77rm-9x9h-xj3g"},{"ecosystem":"Go","fixed":["3.15.0"],"introduced":["0.0.0"],"last_affected":[],"package":"github.com/protocolbuffers/protobuf","purl":null,"source":"GHSA-77rm-9x9h-xj3g"},{"ecosystem":"Go","fixed":["3.15.0"],"introduced":["0.0.0"],"last_affected":[],"package":"github.com/protocolbuffers/protobuf","purl":"pkg:golang/github.com/protocolbuffers/protobuf","source":"GHSA-77rm-9x9h-xj3g"},{"ecosystem":"Maven","fixed":["3.15.0"],"introduced":["0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":null,"source":"GHSA-77rm-9x9h-xj3g"},{"ecosystem":"Maven","fixed":["3.15.0"],"introduced":["0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"GHSA-77rm-9x9h-xj3g"},{"ecosystem":"NuGet","fixed":["3.15.0"],"introduced":["0"],"last_affected":[],"package":"Google.Protobuf","purl":null,"source":"GHSA-77rm-9x9h-xj3g"},{"ecosystem":"NuGet","fixed":["3.15.0"],"introduced":["0"],"last_affected":[],"package":"Google.Protobuf","purl":"pkg:nuget/Google.Protobuf","source":"GHSA-77rm-9x9h-xj3g"},{"ecosystem":"Packagist","fixed":["3.15.0"],"introduced":["0"],"last_affected":[],"package":"google/protobuf","purl":null,"source":"GHSA-77rm-9x9h-xj3g"},{"ecosystem":"Packagist","fixed":["3.15.0"],"introduced":["0"],"last_affected":[],"package":"google/protobuf","purl":"pkg:composer/google/protobuf","source":"GHSA-77rm-9x9h-xj3g"},{"ecosystem":"PyPI","fixed":["3.15.0"],"introduced":["0"],"last_affected":[],"package":"protobuf","purl":null,"source":"GHSA-77rm-9x9h-xj3g"},{"ecosystem":"PyPI","fixed":["3.15.0"],"introduced":["0"],"last_affected":[],"package":"protobuf","purl":"pkg:pypi/protobuf","source":"GHSA-77rm-9x9h-xj3g"},{"ecosystem":"PyPI","fixed":["3.15.0"],"introduced":["0"],"last_affected":[],"package":"protobuf","purl":"pkg:pypi/protobuf","source":"PYSEC-2022-48"},{"ecosystem":"AlmaLinux:8","fixed":["3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf","purl":"pkg:rpm/almalinux/protobuf","source":"ALSA-2022:7464"},{"ecosystem":"AlmaLinux:8","fixed":["3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-compiler","purl":"pkg:rpm/almalinux/protobuf-compiler","source":"ALSA-2022:7464"},{"ecosystem":"AlmaLinux:8","fixed":["3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-devel","purl":"pkg:rpm/almalinux/protobuf-devel","source":"ALSA-2022:7464"},{"ecosystem":"AlmaLinux:8","fixed":["3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-lite","purl":"pkg:rpm/almalinux/protobuf-lite","source":"ALSA-2022:7464"},{"ecosystem":"AlmaLinux:8","fixed":["3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-lite-devel","purl":"pkg:rpm/almalinux/protobuf-lite-devel","source":"ALSA-2022:7464"},{"ecosystem":"AlmaLinux:8","fixed":["3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"python3-protobuf","purl":"pkg:rpm/almalinux/python3-protobuf","source":"ALSA-2022:7464"},{"ecosystem":"AlmaLinux:9","fixed":["3.14.0-13.el9"],"introduced":["0"],"last_affected":[],"package":"protobuf","purl":"pkg:rpm/almalinux/protobuf","source":"ALSA-2022:7970"},{"ecosystem":"AlmaLinux:9","fixed":["3.14.0-13.el9"],"introduced":["0"],"last_affected":[],"package":"protobuf-compiler","purl":"pkg:rpm/almalinux/protobuf-compiler","source":"ALSA-2022:7970"},{"ecosystem":"AlmaLinux:9","fixed":["3.14.0-13.el9"],"introduced":["0"],"last_affected":[],"package":"protobuf-devel","purl":"pkg:rpm/almalinux/protobuf-devel","source":"ALSA-2022:7970"},{"ecosystem":"AlmaLinux:9","fixed":["3.14.0-13.el9"],"introduced":["0"],"last_affected":[],"package":"protobuf-lite","purl":"pkg:rpm/almalinux/protobuf-lite","source":"ALSA-2022:7970"},{"ecosystem":"AlmaLinux:9","fixed":["3.14.0-13.el9"],"introduced":["0"],"last_affected":[],"package":"protobuf-lite-devel","purl":"pkg:rpm/almalinux/protobuf-lite-devel","source":"ALSA-2022:7970"},{"ecosystem":"AlmaLinux:9","fixed":["3.14.0-13.el9"],"introduced":["0"],"last_affected":[],"package":"python3-protobuf","purl":"pkg:rpm/almalinux/python3-protobuf","source":"ALSA-2022:7970"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf","purl":"pkg:rpm/redhat/protobuf","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-compiler","purl":"pkg:rpm/redhat/protobuf-compiler","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-compiler-debuginfo","purl":"pkg:rpm/redhat/protobuf-compiler-debuginfo","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-debuginfo","purl":"pkg:rpm/redhat/protobuf-debuginfo","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-debugsource","purl":"pkg:rpm/redhat/protobuf-debugsource","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-lite","purl":"pkg:rpm/redhat/protobuf-lite","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-lite-debuginfo","purl":"pkg:rpm/redhat/protobuf-lite-debuginfo","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"python3-protobuf","purl":"pkg:rpm/redhat/python3-protobuf","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-compiler-debuginfo","purl":"pkg:rpm/redhat/protobuf-compiler-debuginfo","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-debuginfo","purl":"pkg:rpm/redhat/protobuf-debuginfo","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-debugsource","purl":"pkg:rpm/redhat/protobuf-debugsource","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-devel","purl":"pkg:rpm/redhat/protobuf-devel","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-lite-debuginfo","purl":"pkg:rpm/redhat/protobuf-lite-debuginfo","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.5.0-15.el8"],"introduced":["0"],"last_affected":[],"package":"protobuf-lite-devel","purl":"pkg:rpm/redhat/protobuf-lite-devel","source":"RHSA-2022:7464"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.14.0-13.el9"],"introduced":["0"],"last_affected":[],"package":"protobuf","purl":"pkg:rpm/redhat/protobuf","source":"RHSA-2022:7970"}],"prev":{"headline":"Denial of Service of protobuf-java parsing procedure","id":"CVE-2021-22569"},"products":["Protobuf"],"published":"2022-01-26","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-21","vendors":["Google LLC"]},"summary":"A null pointer dereference in Protobuf allows attackers to cause a denial of service by providing a malformed proto symbol with a null character.","url":"https://insights.sbomify.com/CVE-2021-22570/"}