Advisory

GHSA-cfgp-2977-2fmm

Also known as: CVE-2023-32731, PYSEC-2026-1427

Summary

Connection confusion in gRPC

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-07-05 19:12 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

grpcio

PyPI · All systems

Affected

  • introduced 1.53.0, fixed 1.53.1 (ecosystem)

Fixed versions

1.53.1

Fix

  • Fixed version 1.53.1
    pip install --upgrade grpcio==1.53.1

grpc

RubyGems · All systems

Affected

  • introduced 1.53.0, fixed 1.53.1 (ecosystem)

Fixed versions

1.53.1

Fix

The export has no generic command for this ecosystem.

grpcio

PyPI · All systems

Affected

  • introduced 1.54.0, fixed 1.54.2 (ecosystem)

Fixed versions

1.54.2

Fix

  • Fixed version 1.54.2
    pip install --upgrade grpcio==1.54.2

grpc

RubyGems · All systems

Affected

  • introduced 1.54.0, fixed 1.54.2 (ecosystem)

Fixed versions

1.54.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences