CVE-2024-7246 (GCVE-0-2024-7246)

Vulnerability from cvelistv5 – Published: 2024-08-06 10:14 – Updated: 2024-08-06 13:17
VLAI?
Title
HPACK table poisoning in gRPC C++, Python & Ruby
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.
CWE
  • CWE-440 - Expected Behavior Violation
Assigner
Impacted products
Vendor Product Version
Google gRPC Affected: 1.53.0 (custom)
Affected: 1.53.1 (custom)
Affected: 1.53.2 (custom)
Affected: 1.54.0 (custom)
Affected: 1.54.1 (custom)
Affected: 1.54.3 (custom)
Affected: 1.55.0 (custom)
Affected: 1.55.1 (custom)
Affected: 1.55.3 (custom)
Affected: 1.55.4 (custom)
Affected: 1.56.0 (custom)
Affected: 1.56.1 (custom)
Affected: 1.56.2 (custom)
Affected: 1.56.3 (custom)
Affected: 1.56.4 (custom)
Affected: 1.57.0 (custom)
Affected: 1.57.1 (custom)
Affected: 1.58.0 (custom)
Affected: 1.58.1 (custom)
Affected: 1.58.2 (custom)
Affected: 1.59.0 (custom)
Affected: 1.59.1 (custom)
Affected: 1.59.2 (custom)
Affected: 1.59.3 (custom)
Affected: 1.59.4 (custom)
Affected: 1.60.0 (custom)
Affected: 1.60.1 (custom)
Affected: 1.61.0 (custom)
Affected: 1.61.1 (custom)
Affected: 1.62.0 (custom)
Affected: 1.61.2 (custom)
Affected: 1.62.1 (custom)
Affected: 1.62.2 (custom)
Affected: 1.63.0 (custom)
Affected: 1.63.1 (custom)
Affected: 1.64.0 (custom)
Affected: 1.64.1 (custom)
Affected: 1.64.2 (custom)
Affected: 1.65.0 (custom)
Affected: 1.65.1 (custom)
Affected: 1.65.2 (custom)
Affected: 1.65.3 (custom)
Create a notification for this product.
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": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-7246\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-08-06T13:17:43.627852Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-08-06T13:17:53.540Z\"}}], \"cna\": {\"title\": \"HPACK table poisoning in gRPC C++, Python \u0026 Ruby\", \"source\": {\"discovery\": \"UNKNOWN\"}, \"impacts\": [{\"capecId\": \"CAPEC-220\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-220 Client-Server Protocol Manipulation\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"Safety\": \"NOT_DEFINED\", \"version\": \"4.0\", \"Recovery\": \"NOT_DEFINED\", \"baseScore\": 6.3, \"Automatable\": \"NOT_DEFINED\", \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"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\", \"providerUrgency\": \"NOT_DEFINED\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"HIGH\", \"attackRequirements\": \"NONE\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"NONE\", \"subAvailabilityImpact\": \"LOW\", \"vulnAvailabilityImpact\": \"LOW\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"NONE\", \"vulnerabilityResponseEffort\": \"NOT_DEFINED\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"repo\": \"https://github.com/grpc\", \"vendor\": \"Google\", \"product\": \"gRPC\", \"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\"}], \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://github.com/grpc/grpc/issues/36245\"}], \"x_generator\": {\"engine\": \"Vulnogram 0.2.0\"}, \"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.\", \"supportingMedia\": [{\"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\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-440\", \"description\": \"CWE-440: Expected Behavior Violation\"}]}], \"providerMetadata\": {\"orgId\": \"14ed7db2-1595-443d-9d34-6215bf890778\", \"shortName\": \"Google\", \"dateUpdated\": \"2024-08-06T10:14:28.492Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-7246\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-06T13:17:59.082Z\", \"dateReserved\": \"2024-07-29T20:41:21.403Z\", \"assignerOrgId\": \"14ed7db2-1595-443d-9d34-6215bf890778\", \"datePublished\": \"2024-08-06T10:14:28.492Z\", \"assignerShortName\": \"Google\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…