From c0feb1688f61ad55dc192e82cd81ef2595fec644 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Tue, 30 Jul 2024 10:28:17 +0000 Subject: [PATCH] Publish Advisories GHSA-496j-2rq6-j6cc GHSA-496j-2rq6-j6cc --- .../GHSA-496j-2rq6-j6cc.json | 195 ++++++++++++++++++ .../GHSA-496j-2rq6-j6cc.json | 39 ---- 2 files changed, 195 insertions(+), 39 deletions(-) create mode 100644 advisories/github-reviewed/2023/08/GHSA-496j-2rq6-j6cc/GHSA-496j-2rq6-j6cc.json delete mode 100644 advisories/unreviewed/2023/08/GHSA-496j-2rq6-j6cc/GHSA-496j-2rq6-j6cc.json diff --git a/advisories/github-reviewed/2023/08/GHSA-496j-2rq6-j6cc/GHSA-496j-2rq6-j6cc.json b/advisories/github-reviewed/2023/08/GHSA-496j-2rq6-j6cc/GHSA-496j-2rq6-j6cc.json new file mode 100644 index 00000000000..b250de7b059 --- /dev/null +++ b/advisories/github-reviewed/2023/08/GHSA-496j-2rq6-j6cc/GHSA-496j-2rq6-j6cc.json @@ -0,0 +1,195 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-496j-2rq6-j6cc", + "modified": "2024-07-30T10:26:43Z", + "published": "2023-08-09T15:30:15Z", + "aliases": [ + "CVE-2023-33953" + ], + "summary": "Excessive Iteration in gRPC", + "details": "gRPC contains a vulnerability that allows hpack table accounting errors could lead to unwanted disconnects between clients and servers in exceptional cases/ Three vectors were found that allow the following DOS attacks:\n\n- Unbounded memory buffering in the HPACK parser\n- Unbounded CPU consumption in the HPACK parser\n\nThe unbounded CPU consumption is down to a copy that occurred per-input-block in the parser, and because that could be unbounded due to the memory copy bug we end up with an O(n^2) parsing loop, with n selected by the client.\n\nThe unbounded memory buffering bugs:\n\n- The header size limit check was behind the string reading code, so we needed to first buffer up to a 4 gigabyte string before rejecting it as longer than 8 or 16kb.\n- HPACK varints have an encoding quirk whereby an infinite number of 0’s can be added at the start of an integer. gRPC’s hpack parser needed to read all of them before concluding a parse.\n- gRPC’s metadata overflow check was performed per frame, so that the following sequence of frames could cause infinite buffering: HEADERS: containing a: 1 CONTINUATION: containing a: 2 CONTINUATION: containing a: 3 etc…", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "grpcio" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "1.53.2" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "PyPI", + "name": "grpcio" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.54.0" + }, + { + "fixed": "1.54.3" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "PyPI", + "name": "grpcio" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.55.0" + }, + { + "fixed": "1.55.2" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "PyPI", + "name": "grpcio" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.56.0" + }, + { + "fixed": "1.56.2" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "RubyGems", + "name": "grpc" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "1.53.2" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "RubyGems", + "name": "grpc" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.54.0" + }, + { + "fixed": "1.54.3" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "RubyGems", + "name": "grpc" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.55.0" + }, + { + "fixed": "1.55.2" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "RubyGems", + "name": "grpc" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.56.0" + }, + { + "fixed": "1.56.2" + } + ] + } + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33953" + }, + { + "type": "WEB", + "url": "https://cloud.google.com/support/bulletins#gcp-2023-022" + }, + { + "type": "WEB", + "url": "https://security.snyk.io/vuln/SNYK-RUBY-GRPC-5834442" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-770", + "CWE-789" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2024-07-30T10:26:43Z", + "nvd_published_at": "2023-08-09T13:15:09Z" + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2023/08/GHSA-496j-2rq6-j6cc/GHSA-496j-2rq6-j6cc.json b/advisories/unreviewed/2023/08/GHSA-496j-2rq6-j6cc/GHSA-496j-2rq6-j6cc.json deleted file mode 100644 index 7aa7c7c0428..00000000000 --- a/advisories/unreviewed/2023/08/GHSA-496j-2rq6-j6cc/GHSA-496j-2rq6-j6cc.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "schema_version": "1.4.0", - "id": "GHSA-496j-2rq6-j6cc", - "modified": "2024-04-04T06:44:29Z", - "published": "2023-08-09T15:30:15Z", - "aliases": [ - "CVE-2023-33953" - ], - "details": "gRPC contains a vulnerability that allows hpack table accounting errors could lead to unwanted disconnects between clients and servers in exceptional cases/ Three vectors were found that allow the following DOS attacks:\n\n- Unbounded memory buffering in the HPACK parser\n- Unbounded CPU consumption in the HPACK parser\n\nThe unbounded CPU consumption is down to a copy that occurred per-input-block in the parser, and because that could be unbounded due to the memory copy bug we end up with an O(n^2) parsing loop, with n selected by the client.\n\nThe unbounded memory buffering bugs:\n\n- The header size limit check was behind the string reading code, so we needed to first buffer up to a 4 gigabyte string before rejecting it as longer than 8 or 16kb.\n- HPACK varints have an encoding quirk whereby an infinite number of 0’s can be added at the start of an integer. gRPC’s hpack parser needed to read all of them before concluding a parse.\n- gRPC’s metadata overflow check was performed per frame, so that the following sequence of frames could cause infinite buffering: HEADERS: containing a: 1 CONTINUATION: containing a: 2 CONTINUATION: containing a: 3 etc…", - "severity": [ - { - "type": "CVSS_V3", - "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" - } - ], - "affected": [ - - ], - "references": [ - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33953" - }, - { - "type": "WEB", - "url": "https://cloud.google.com/support/bulletins#gcp-2023-022" - } - ], - "database_specific": { - "cwe_ids": [ - "CWE-770", - "CWE-789" - ], - "severity": "HIGH", - "github_reviewed": false, - "github_reviewed_at": null, - "nvd_published_at": "2023-08-09T13:15:09Z" - } -} \ No newline at end of file