{"answers":{"affected":"13 open source packages ship an affected version, including grpcio, io.grpc:grpc-protobuf and grpc. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-32731 in the wild and no public exploit code.","fix":"Upgrade grpcio to a fixed version for your release line: 1.53.1 or 1.54.2.","what":"CVE-2023-32731 is a high-severity vulnerability in Google gRPC, published on 9 Jun 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-32731 and fix it if it is affected.\n\nWhat it is: CVE-2023-32731 is a high-severity vulnerability in Google gRPC, published on 9 Jun 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-32731 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- grpcio (PyPI): affected from 1.53.0; fixed in 1.53.1, 1.54.2\n- grpcio (PyPI): affected from 1.53.0; fixed in 1.53.1\n- grpcio (PyPI): affected from 1.53.0; fixed in 1.53.1\n- grpcio (PyPI): affected from 1.54.0; fixed in 1.54.2\n- grpcio (PyPI): affected from 1.54.0; fixed in 1.54.2\n- io.grpc:grpc-protobuf (Maven): affected from 1.53.0; fixed in 1.53.1\n- io.grpc:grpc-protobuf (Maven): affected from 1.53.0; fixed in 1.53.1\n- io.grpc:grpc-protobuf (Maven): affected from 1.54.0; fixed in 1.54.2\n- io.grpc:grpc-protobuf (Maven): affected from 1.54.0; fixed in 1.54.2\n- grpc (RubyGems): affected from 1.53.0; fixed in 1.53.1\n- grpc (RubyGems): affected from 1.53.0; fixed in 1.53.1\n- grpc (RubyGems): affected from 1.54.0; fixed in 1.54.2\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-32731/ (Markdown: https://insights.sbomify.com/CVE-2023-32731/index.md)","id":"CVE-2023-32731","markdown":"https://insights.sbomify.com/CVE-2023-32731/index.md","name":"CVE-2023-32731","record":{"aliases":["BELL-CVE-2023-32731","GHSA-cfgp-2977-2fmm","PYSEC-2026-1427","UBUNTU-CVE-2023-32731"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"gRPC library","requires_auth":"none","summary":"An HPACK desynchronization flaw in gRPC allows attackers to leak headers between clients, potentially enabling data exfiltration or privilege escalation.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"grpc","vendor":"grpc"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-440","name":"Expected Behavior Violation"}],"description":"When gRPC HTTP2 stack raised a header size exceeded error, it skipped parsing the rest of the HPACK frame. This caused any HPACK table mutations to also be skipped, resulting in a desynchronization of HPACK tables between sender and receiver. If leveraged, say, between a proxy and a backend, this could lead to requests from the proxy being interpreted as containing headers from different proxy clients - leading to an information leak that can be used for privilege escalation or data exfiltration. We recommend upgrading beyond the commit contained in  https://github.com/grpc/grpc/pull/33005 https://github.com/grpc/grpc/pull/33005","ecosystems":["Maven","PyPI","RubyGems"],"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":"Information leak in gRPC","id":"CVE-2023-32731","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":13,"n_references":2,"next":{"headline":"Denial-of-Service in gRPC","id":"CVE-2023-32732"},"packages":[{"ecosystem":"Maven","fixed":["1.53.1"],"introduced":["1.53.0"],"last_affected":[],"package":"io.grpc:grpc-protobuf","purl":null,"source":"GHSA-cfgp-2977-2fmm"},{"ecosystem":"Maven","fixed":["1.53.1"],"introduced":["1.53.0"],"last_affected":[],"package":"io.grpc:grpc-protobuf","purl":"pkg:maven/io.grpc/grpc-protobuf","source":"GHSA-cfgp-2977-2fmm"},{"ecosystem":"Maven","fixed":["1.54.2"],"introduced":["1.54.0"],"last_affected":[],"package":"io.grpc:grpc-protobuf","purl":null,"source":"GHSA-cfgp-2977-2fmm"},{"ecosystem":"Maven","fixed":["1.54.2"],"introduced":["1.54.0"],"last_affected":[],"package":"io.grpc:grpc-protobuf","purl":"pkg:maven/io.grpc/grpc-protobuf","source":"GHSA-cfgp-2977-2fmm"},{"ecosystem":"PyPI","fixed":["1.53.1","1.54.2"],"introduced":["1.53.0","1.54.0"],"last_affected":[],"package":"grpcio","purl":"pkg:pypi/grpcio","source":"PYSEC-2026-1427"},{"ecosystem":"PyPI","fixed":["1.53.1"],"introduced":["1.53.0"],"last_affected":[],"package":"grpcio","purl":null,"source":"GHSA-cfgp-2977-2fmm"},{"ecosystem":"PyPI","fixed":["1.53.1"],"introduced":["1.53.0"],"last_affected":[],"package":"grpcio","purl":"pkg:pypi/grpcio","source":"GHSA-cfgp-2977-2fmm"},{"ecosystem":"PyPI","fixed":["1.54.2"],"introduced":["1.54.0"],"last_affected":[],"package":"grpcio","purl":null,"source":"GHSA-cfgp-2977-2fmm"},{"ecosystem":"PyPI","fixed":["1.54.2"],"introduced":["1.54.0"],"last_affected":[],"package":"grpcio","purl":"pkg:pypi/grpcio","source":"GHSA-cfgp-2977-2fmm"},{"ecosystem":"RubyGems","fixed":["1.53.1"],"introduced":["1.53.0"],"last_affected":[],"package":"grpc","purl":null,"source":"GHSA-cfgp-2977-2fmm"},{"ecosystem":"RubyGems","fixed":["1.53.1"],"introduced":["1.53.0"],"last_affected":[],"package":"grpc","purl":"pkg:gem/grpc","source":"GHSA-cfgp-2977-2fmm"},{"ecosystem":"RubyGems","fixed":["1.54.2"],"introduced":["1.54.0"],"last_affected":[],"package":"grpc","purl":null,"source":"GHSA-cfgp-2977-2fmm"},{"ecosystem":"RubyGems","fixed":["1.54.2"],"introduced":["1.54.0"],"last_affected":[],"package":"grpc","purl":"pkg:gem/grpc","source":"GHSA-cfgp-2977-2fmm"}],"prev":{"headline":"Code injection in zabbix_agent2 smart.disk.get caused by smartctl plugin","id":"CVE-2023-32728"},"products":["gRPC"],"published":"2023-06-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"},{"cvss_score":7.5,"headline":"Denial-of-Service in gRPC","id":"CVE-2023-33953","kev_date_added":null,"published":"2023-08-09"}],"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":"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":"2024-09-26","vendors":["Google"]},"summary":"An HPACK desynchronization flaw in gRPC allows attackers to leak headers between clients, potentially enabling data exfiltration or privilege escalation.","url":"https://insights.sbomify.com/CVE-2023-32731/"}