{"answers":{"affected":"17 open source packages ship an affected version, including grpcio and grpc. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-33953 in the wild and no public exploit code.","fix":"Upgrade grpcio to a fixed version for your release line: 1.53.2, 1.54.3, 1.55.2 or 1.56.2.","what":"CVE-2023-33953 is a high-severity denial of service vulnerability in Google gRPC, published on 9 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-33953 and fix it if it is affected.\n\nWhat it is: CVE-2023-33953 is a high-severity denial of service vulnerability in Google gRPC, published on 9 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-33953 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- grpcio (PyPI): affected all versions; fixed in 1.53.2, 1.54.3, 1.55.2, 1.56.2\n- grpcio (PyPI): affected all versions; fixed in 1.53.2\n- grpcio (PyPI): affected all versions; fixed in 1.53.2\n- grpcio (PyPI): affected from 1.54.0; fixed in 1.54.3\n- grpcio (PyPI): affected from 1.54.0; fixed in 1.54.3\n- grpcio (PyPI): affected from 1.55.0; fixed in 1.55.2\n- grpcio (PyPI): affected from 1.55.0; fixed in 1.55.2\n- grpcio (PyPI): affected from 1.56.0; fixed in 1.56.2\n- grpcio (PyPI): affected from 1.56.0; fixed in 1.56.2\n- grpc (RubyGems): affected all versions; fixed in 1.53.2\n- grpc (RubyGems): affected all versions; fixed in 1.53.2\n- grpc (RubyGems): affected from 1.54.0; fixed in 1.54.3\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-2023-33953/ (Markdown: https://insights.sbomify.com/CVE-2023-33953/index.md)","id":"CVE-2023-33953","markdown":"https://insights.sbomify.com/CVE-2023-33953/index.md","name":"CVE-2023-33953","record":{"aliases":["AZL-27911","AZL-34770","AZL-39394","BELL-CVE-2023-33953","DEBIAN-CVE-2023-33953","ECHO-9fe3-9f38-13ad","GHSA-496j-2rq6-j6cc","PYSEC-2026-1424","SUSE-SU-2026:0840-1","UBUNTU-CVE-2023-33953"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"gRPC library","requires_auth":"none","summary":"Attackers can cause denial of service in gRPC servers via unbounded memory buffering and CPU consumption in the HPACK parser.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"grpc","vendor":"grpc"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-834","name":"Excessive Iteration"},{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"description":"gRPC contains a vulnerability that allows hpack table accounting errors could lead to unwanted disconnects between clients and servers in exceptional cases/ Three vectors were found that allow the following DOS attacks:\n\n- Unbounded memory buffering in the HPACK parser\n- Unbounded CPU consumption in the HPACK parser\n\nThe unbounded CPU consumption is down to a copy that occurred per-input-block in the parser, and because that could be unbounded due to the memory copy bug we end up with an O(n^2) parsing loop, with n selected by the client.\n\nThe unbounded memory buffering bugs:\n\n- The header size limit check was behind the string reading code, so we needed to first buffer up to a 4 gigabyte string before rejecting it as longer than 8 or 16kb.\n- HPACK varints have an encoding quirk whereby an infinite number of 0’s can be added at the start of an integer. gRPC’s hpack parser needed to read all of them before concluding a parse.\n- gRPC’s metadata overflow check was performed per frame, so that the following sequence of frames could cause infinite buffering: HEADERS: containing a: 1 CONTINUATION: containing a: 2 CONTINUATION: containing a: 3 etc…","ecosystems":["PyPI","RubyGems","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 15 SP5","SUSE:Linux Enterprise Module for Public Cloud 15 SP6","SUSE:Linux Enterprise Module for Public Cloud 15 SP7","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6"],"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":"Denial-of-Service in gRPC","id":"CVE-2023-33953","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":32,"n_references":1,"next":{"headline":"Minio console object names with RIGHT-TO-LEFT OVERRIDE unicode character can be exploited","id":"CVE-2023-33955"},"packages":[{"ecosystem":"PyPI","fixed":["1.53.2","1.54.3","1.55.2","1.56.2"],"introduced":["0","1.54.0","1.55.0","1.56.0"],"last_affected":[],"package":"grpcio","purl":"pkg:pypi/grpcio","source":"PYSEC-2026-1424"},{"ecosystem":"PyPI","fixed":["1.53.2"],"introduced":["0"],"last_affected":[],"package":"grpcio","purl":null,"source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"PyPI","fixed":["1.53.2"],"introduced":["0"],"last_affected":[],"package":"grpcio","purl":"pkg:pypi/grpcio","source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"PyPI","fixed":["1.54.3"],"introduced":["1.54.0"],"last_affected":[],"package":"grpcio","purl":null,"source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"PyPI","fixed":["1.54.3"],"introduced":["1.54.0"],"last_affected":[],"package":"grpcio","purl":"pkg:pypi/grpcio","source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"PyPI","fixed":["1.55.2"],"introduced":["1.55.0"],"last_affected":[],"package":"grpcio","purl":null,"source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"PyPI","fixed":["1.55.2"],"introduced":["1.55.0"],"last_affected":[],"package":"grpcio","purl":"pkg:pypi/grpcio","source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"PyPI","fixed":["1.56.2"],"introduced":["1.56.0"],"last_affected":[],"package":"grpcio","purl":null,"source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"PyPI","fixed":["1.56.2"],"introduced":["1.56.0"],"last_affected":[],"package":"grpcio","purl":"pkg:pypi/grpcio","source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"RubyGems","fixed":["1.53.2"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":null,"source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"RubyGems","fixed":["1.53.2"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:gem/grpc","source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"RubyGems","fixed":["1.54.3"],"introduced":["1.54.0"],"last_affected":[],"package":"grpc","purl":null,"source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"RubyGems","fixed":["1.54.3"],"introduced":["1.54.0"],"last_affected":[],"package":"grpc","purl":"pkg:gem/grpc","source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"RubyGems","fixed":["1.55.2"],"introduced":["1.55.0"],"last_affected":[],"package":"grpc","purl":null,"source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"RubyGems","fixed":["1.55.2"],"introduced":["1.55.0"],"last_affected":[],"package":"grpc","purl":"pkg:gem/grpc","source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"RubyGems","fixed":["1.56.2"],"introduced":["1.56.0"],"last_affected":[],"package":"grpc","purl":null,"source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"RubyGems","fixed":["1.56.2"],"introduced":["1.56.0"],"last_affected":[],"package":"grpc","purl":"pkg:gem/grpc","source":"GHSA-496j-2rq6-j6cc"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP5","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP5","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP6","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP6","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP7","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP7","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2026:0840-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP6","fixed":["1.25.0-150200.3.10.1"],"introduced":["0"],"last_affected":[],"package":"grpc","purl":"pkg:rpm/suse/grpc\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6","source":"SUSE-SU-2026:0840-1"}],"prev":{"headline":"Kernel: vmwgfx: double free within the handling of vmw_buffer_object objects","id":"CVE-2023-33952"},"products":["gRPC"],"published":"2023-08-09","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-9431","kev_date_added":null,"published":"2017-06-05"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2017-8359","kev_date_added":null,"published":"2017-04-30"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-7860","kev_date_added":null,"published":"2017-04-14"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-7861","kev_date_added":null,"published":"2017-04-14"},{"cvss_score":9.1,"headline":"gRPC-Go has an authorization bypass via missing leading slash in :path","id":"CVE-2026-33186","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":7.5,"headline":"Denial of Service in gRPC Core","id":"CVE-2023-4785","kev_date_added":null,"published":"2023-09-13"}],"sources":[{"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":"SUSE","prefix":"SUSE"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-27","vendors":["Google"]},"summary":"Attackers can cause denial of service in gRPC servers via unbounded memory buffering and CPU consumption in the HPACK parser.","url":"https://insights.sbomify.com/CVE-2023-33953/"}