Skip to content
Heist/ feed
Back to feed
Medium

grpc — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-7246

It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the backend such that other clients see failed requests. It's also possible to use this vulnerability to leak other clients HTTP header keys, but not values. This occurs because the error status for a misencoded header is not cleared between header reads, resulting in subsequent (incrementally indexed) added headers in the first request being poisoned until cleared from the HPACK table. Please update to a fixed version of gRPC as soon as possible. This bug has been fixed in 1.58.3, 1.59.5, 1.60.2, 1.61.3, 1.62.3, 1.63.2, 1.64.3, 1.65.4.

Products
grpc
Affected versions
0.10.2-1, 0.11.1-1, 1.16.1-1, 1.16.1-1ubuntu1, 1.16.1-1ubuntu3, 1.16.1-1ubuntu4, 1.16.1-1ubuntu5, 1.3.2-1, 1.3.2-1.1~build1, 1.3.2-1ubuntu1, 1.30.2-3, 1.30.2-3build1, 1.30.2-3build3, 1.30.2-3build5, 1.30.2-3build6, 1.51.1-10ubuntu1, 1.51.1-3build3, 1.51.1-3build4, 1.51.1-4, 1.51.1-4.1build3, 1.51.1-4.1build4, 1.51.1-4.1build5, 1.51.1-4build1, 1.51.1-4build2, 1.51.1-6, 1.51.1-6build1, 1.51.1-7, 1.51.1-7ubuntu2, 1.51.1-7ubuntu3, 1.51.1-8ubuntu1, 1.51.1-9, 1.51.1-9ubuntu3
Fixed versions
Not specified
CVEs
CVE-2024-7246
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:24 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-7246

core-osv · Original source

Published 6 Aug 2024, 11:16 UTC

It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the backend such that other clients see failed requests. It's also possible to use this vulnerability to leak other clients HTTP header keys, but not values. This occurs because the error status for a misencoded header is not cleared between header reads, resulting in subsequent (incrementally indexed) added headers in the first request being poisoned until cleared from the HPACK table. Please update to a fixed version of gRPC as soon as possible. This bug has been fixed in 1.58.3, 1.59.5, 1.60.2, 1.61.3, 1.62.3, 1.63.2, 1.64.3, 1.65.4.

osv:UBUNTU-CVE-2024-7246

grpc

Fixed versions: Not specified

grpc

Fixed versions: Not specified

grpc

Fixed versions: Not specified

grpc

Fixed versions: Not specified

grpc

Fixed versions: Not specified

grpc

Fixed versions: Not specified

grpc

Fixed versions: Not specified

grpc

Fixed versions: Not specified

Complete source record
{
  "id": "80c57cdc663c3ecad265729c616edf843e52562dc25ea49e00e2cda69074f478",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-7246",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-7246",
    "summary": "It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the backend such that other clients see failed requests. It's also possible to use this vulnerability to leak other clients HTTP header keys, but not values. This occurs because the error status for a misencoded header is not cleared between header reads, resulting in subsequent (incrementally indexed) added headers in the first request being poisoned until cleared from the HPACK table. Please update to a fixed version of gRPC as soon as possible. This bug has been fixed in 1.58.3, 1.59.5, 1.60.2, 1.61.3, 1.62.3, 1.63.2, 1.64.3, 1.65.4.",
    "evidence": "osv:UBUNTU-CVE-2024-7246",
    "products": [
      {
        "name": {
          "value": "grpc",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.10.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.11.1-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "grpc",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.3.2-1ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.3.2-1.1~build1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "grpc",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.16.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.16.1-1ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.16.1-1ubuntu3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.16.1-1ubuntu4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.16.1-1ubuntu5",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "grpc",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.30.2-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.30.2-3build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.30.2-3build3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.30.2-3build5",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.30.2-3build6",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "grpc",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.51.1-3build3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.51.1-3build4",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.51.1-4",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.51.1-4build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.51.1-4build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.51.1-4.1build3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.51.1-4.1build4",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.51.1-4.1build5",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "grpc",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.51.1-6",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.51.1-6build1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "grpc",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.51.1-8ubuntu1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.51.1-9",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.51.1-9ubuntu3",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.51.1-10ubuntu1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "grpc",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.51.1-6build1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.51.1-7",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.51.1-7ubuntu2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.51.1-7ubuntu3",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.51.1-8ubuntu1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2024-7246",
      "aliases": [
        "UBUNTU-CVE-2024-7246"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "grpc",
            "purl": "pkg:deb/ubuntu/grpc?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "0.10.2-1",
            "0.11.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgrpc0",
                "binary_version": "0.11.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "grpc",
            "purl": "pkg:deb/ubuntu/grpc?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.3.2-1",
            "1.3.2-1ubuntu1",
            "1.3.2-1.1~build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgrpc++1",
                "binary_version": "1.3.2-1.1~build1"
              },
              {
                "binary_name": "libgrpc3",
                "binary_version": "1.3.2-1.1~build1"
              },
              {
                "binary_name": "protobuf-compiler-grpc",
                "binary_version": "1.3.2-1.1~build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "grpc",
            "purl": "pkg:deb/ubuntu/grpc?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.16.1-1",
            "1.16.1-1ubuntu1",
            "1.16.1-1ubuntu3",
            "1.16.1-1ubuntu4",
            "1.16.1-1ubuntu5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgrpc++1",
                "binary_version": "1.16.1-1ubuntu5"
              },
              {
                "binary_name": "libgrpc6",
                "binary_version": "1.16.1-1ubuntu5"
              },
              {
                "binary_name": "protobuf-compiler-grpc",
                "binary_version": "1.16.1-1ubuntu5"
              },
              {
                "binary_name": "python3-grpcio",
                "binary_version": "1.16.1-1ubuntu5"
              },
              {
                "binary_name": "ruby-grpc",
                "binary_version": "1.16.1-1ubuntu5"
              },
              {
                "binary_name": "ruby-grpc-tools",
                "binary_version": "1.16.1-1ubuntu5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "grpc",
            "purl": "pkg:deb/ubuntu/grpc?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.30.2-3",
            "1.30.2-3build1",
            "1.30.2-3build3",
            "1.30.2-3build5",
            "1.30.2-3build6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgrpc++1",
                "binary_version": "1.30.2-3build6"
              },
              {
                "binary_name": "libgrpc10",
                "binary_version": "1.30.2-3build6"
              },
              {
                "binary_name": "protobuf-compiler-grpc",
                "binary_version": "1.30.2-3build6"
              },
              {
                "binary_name": "python3-grpcio",
                "binary_version": "1.30.2-3build6"
              },
              {
                "binary_name": "ruby-grpc",
                "binary_version": "1.30.2-3build6"
              },
              {
                "binary_name": "ruby-grpc-tools",
                "binary_version": "1.30.2-3build6"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "grpc",
            "purl": "pkg:deb/ubuntu/grpc?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.51.1-3build3",
            "1.51.1-3build4",
            "1.51.1-4",
            "1.51.1-4build1",
            "1.51.1-4build2",
            "1.51.1-4.1build3",
            "1.51.1-4.1build4",
            "1.51.1-4.1build5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgrpc++1.51t64",
                "binary_version": "1.51.1-4.1build5"
              },
              {
                "binary_name": "libgrpc29t64",
                "binary_version": "1.51.1-4.1build5"
              },
              {
                "binary_name": "protobuf-compiler-grpc",
                "binary_version": "1.51.1-4.1build5"
              },
              {
                "binary_name": "python3-grpcio",
                "binary_version": "1.51.1-4.1build5"
              },
              {
                "binary_name": "ruby-grpc",
                "binary_version": "1.51.1-4.1build5"
              },
              {
                "binary_name": "ruby-grpc-tools",
                "binary_version": "1.51.1-4.1build5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "grpc",
            "purl": "pkg:deb/ubuntu/grpc?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.51.1-6",
            "1.51.1-6build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgrpc++1.51t64",
                "binary_version": "1.51.1-6build1"
              },
              {
                "binary_name": "libgrpc29t64",
                "binary_version": "1.51.1-6build1"
              },
              {
                "binary_name": "protobuf-compiler-grpc",
                "binary_version": "1.51.1-6build1"
              },
              {
                "binary_name": "python3-grpcio",
                "binary_version": "1.51.1-6build1"
              },
              {
                "binary_name": "ruby-grpc",
                "binary_version": "1.51.1-6build1"
              },
              {
                "binary_name": "ruby-grpc-tools",
                "binary_version": "1.51.1-6build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "grpc",
            "purl": "pkg:deb/ubuntu/grpc?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.51.1-8ubuntu1",
            "1.51.1-9",
            "1.51.1-9ubuntu3",
            "1.51.1-10ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgrpc++1.51t64",
                "binary_version": "1.51.1-10ubuntu1"
              },
              {
                "binary_name": "libgrpc29t64",
                "binary_version": "1.51.1-10ubuntu1"
              },
              {
                "binary_name": "protobuf-compiler-grpc",
                "binary_version": "1.51.1-10ubuntu1"
              },
              {
                "binary_name": "python3-grpcio",
                "binary_version": "1.51.1-10ubuntu1"
              },
              {
                "binary_name": "ruby-grpc",
                "binary_version": "1.51.1-10ubuntu1"
              },
              {
                "binary_name": "ruby-grpc-tools",
                "binary_version": "1.51.1-10ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "grpc",
            "purl": "pkg:deb/ubuntu/grpc?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.51.1-6build1",
            "1.51.1-7",
            "1.51.1-7ubuntu2",
            "1.51.1-7ubuntu3",
            "1.51.1-8ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgrpc++1.51t64",
                "binary_version": "1.51.1-8ubuntu1"
              },
              {
                "binary_name": "libgrpc29t64",
                "binary_version": "1.51.1-8ubuntu1"
              },
              {
                "binary_name": "protobuf-compiler-grpc",
                "binary_version": "1.51.1-8ubuntu1"
              },
              {
                "binary_name": "python3-grpcio",
                "binary_version": "1.51.1-8ubuntu1"
              },
              {
                "binary_name": "ruby-grpc",
                "binary_version": "1.51.1-8ubuntu1"
              },
              {
                "binary_name": "ruby-grpc-tools",
                "binary_version": "1.51.1-8ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:47.233116037Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-7246"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-7246",
        "https://www.cve.org/CVERecord?id=CVE-2024-7246",
        "https://github.com/grpc/grpc/issues/36245"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-7246",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356252,
  "published_at": "2024-08-06T11:16:00+00:00"
}