cve-2024-7246
Vulnerability from cvelistv5
Published
2024-08-06 10:14
Modified
2024-08-06 13:17
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.
Impacted products
Vendor Product Version
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-7246",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-08-06T13:17:43.627852Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-08-06T13:17:59.082Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "gRPC",
          "repo": "https://github.com/grpc",
          "vendor": "Google",
          "versions": [
            {
              "status": "affected",
              "version": "1.53.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.53.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.53.2",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.54.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.54.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.54.3",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.55.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.55.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.55.3",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.55.4",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.56.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.56.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.56.2",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.56.3",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.56.4",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.57.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.57.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.58.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.58.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.58.2",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.59.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.59.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.59.2",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.59.3",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.59.4",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.60.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.60.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.61.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.61.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.62.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.61.2",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.62.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.62.2",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.63.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.63.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.64.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.64.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.64.2",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.65.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.65.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.65.2",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "1.65.3",
              "versionType": "custom"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eIt\u0027s 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\u0027s also possible to use this vulnerability to leak other clients HTTP header keys, but not values.\u003c/p\u003e\u003cp\u003eThis 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.\u003c/p\u003ePlease 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.\u003cbr\u003e"
            }
          ],
          "value": "It\u0027s 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\u0027s also possible to use this vulnerability to leak other clients HTTP header keys, but not values.\n\nThis 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.\n\nPlease 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."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-220",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-220 Client-Server Protocol Manipulation"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "HIGH",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "LOW",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "LOW",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-440",
              "description": "CWE-440: Expected Behavior Violation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-08-06T10:14:28.492Z",
        "orgId": "14ed7db2-1595-443d-9d34-6215bf890778",
        "shortName": "Google"
      },
      "references": [
        {
          "url": "https://github.com/grpc/grpc/issues/36245"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "HPACK table poisoning in gRPC C++, Python \u0026 Ruby",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "14ed7db2-1595-443d-9d34-6215bf890778",
    "assignerShortName": "Google",
    "cveId": "CVE-2024-7246",
    "datePublished": "2024-08-06T10:14:28.492Z",
    "dateReserved": "2024-07-29T20:41:21.403Z",
    "dateUpdated": "2024-08-06T13:17:59.082Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-7246\",\"sourceIdentifier\":\"cve-coordination@google.com\",\"published\":\"2024-08-06T11:16:07.587\",\"lastModified\":\"2024-08-06T16:30:24.547\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"It\u0027s 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\u0027s also possible to use this vulnerability to leak other clients HTTP header keys, but not values.\\n\\nThis 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.\\n\\nPlease 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.\"},{\"lang\":\"es\",\"value\":\"Es posible que un cliente gRPC que se comunica con un proxy HTTP/2 envenene la tabla HPACK entre el proxy y el backend de modo que otros clientes vean solicitudes fallidas. Tambi\u00e9n es posible utilizar esta vulnerabilidad para filtrar claves de encabezado HTTP de otros clientes, pero no valores. Esto ocurre porque el estado de error de un encabezado mal codificado no se borra entre lecturas de encabezado, lo que da como resultado que los encabezados agregados posteriores (indexados incrementalmente) en la primera solicitud se envenenen hasta que se eliminen de la tabla HPACK. Actualice a una versi\u00f3n fija de gRPC lo antes posible. Este error se solucion\u00f3 en 1.58.3, 1.59.5, 1.60.2, 1.61.3, 1.62.3, 1.63.2, 1.64.3, 1.65.4.\"}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"cve-coordination@google.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"vectorString\":\"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X\",\"baseScore\":6.3,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"HIGH\",\"attackRequirements\":\"NONE\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"vulnerableSystemConfidentiality\":\"NONE\",\"vulnerableSystemIntegrity\":\"NONE\",\"vulnerableSystemAvailability\":\"LOW\",\"subsequentSystemConfidentiality\":\"NONE\",\"subsequentSystemIntegrity\":\"NONE\",\"subsequentSystemAvailability\":\"LOW\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirements\":\"NOT_DEFINED\",\"integrityRequirements\":\"NOT_DEFINED\",\"availabilityRequirements\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnerableSystemConfidentiality\":\"NOT_DEFINED\",\"modifiedVulnerableSystemIntegrity\":\"NOT_DEFINED\",\"modifiedVulnerableSystemAvailability\":\"NOT_DEFINED\",\"modifiedSubsequentSystemConfidentiality\":\"NOT_DEFINED\",\"modifiedSubsequentSystemIntegrity\":\"NOT_DEFINED\",\"modifiedSubsequentSystemAvailability\":\"NOT_DEFINED\",\"safety\":\"NOT_DEFINED\",\"automatable\":\"NOT_DEFINED\",\"recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}]},\"weaknesses\":[{\"source\":\"cve-coordination@google.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-440\"}]}],\"references\":[{\"url\":\"https://github.com/grpc/grpc/issues/36245\",\"source\":\"cve-coordination@google.com\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.