Skip to content
Heist/ feed
Back to feed
HighFix available

nghttp2 — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2023-35945

Envoy is a cloud-native high-performance edge/middle/service proxy. Envoy’s HTTP/2 codec may leak a header map and bookkeeping structures upon receiving `RST_STREAM` immediately followed by the `GOAWAY` frames from an upstream server. In nghttp2, cleanup of pending requests due to receipt of the `GOAWAY` frame skips de-allocation of the bookkeeping structure and pending compressed header. The error return [code path] is taken if connection is already marked for not sending more requests due to `GOAWAY` frame. The clean-up code is right after the return statement, causing memory leak. Denial of service through memory exhaustion. This vulnerability was patched in versions(s) 1.26.3, 1.25.8, 1.24.9, 1.23.11.

Products
nghttp2
Affected versions
Not specified
Fixed versions
1.46.0-r1, 1.47.0-r1, 1.51.0-r1
CVEs
CVE-2023-35945
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 14:58 UTC · Revision 1

Source evidence

ALPINE-CVE-2023-35945

core-osv · Original source

Published 13 Jul 2023, 21:15 UTC

Envoy is a cloud-native high-performance edge/middle/service proxy. Envoy’s HTTP/2 codec may leak a header map and bookkeeping structures upon receiving `RST_STREAM` immediately followed by the `GOAWAY` frames from an upstream server. In nghttp2, cleanup of pending requests due to receipt of the `GOAWAY` frame skips de-allocation of the bookkeeping structure and pending compressed header. The error return [code path] is taken if connection is already marked for not sending more requests due to `GOAWAY` frame. The clean-up code is right after the return statement, causing memory leak. Denial of service through memory exhaustion. This vulnerability was patched in versions(s) 1.26.3, 1.25.8, 1.24.9, 1.23.11.

osv:ALPINE-CVE-2023-35945

nghttp2

Fixed versions: 1.46.0-r1

nghttp2

Fixed versions: 1.47.0-r1

nghttp2

Fixed versions: 1.51.0-r1

Complete source record
{
  "id": "81b395dec32a3fb8f625d8a31e1fd7207b82a3506c3d739f3a8c5e23922823fc",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2023-35945",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2023-35945",
    "summary": "Envoy is a cloud-native high-performance edge/middle/service proxy. Envoy’s HTTP/2 codec may leak a header map and bookkeeping structures upon receiving `RST_STREAM` immediately followed by the `GOAWAY` frames from an upstream server. In nghttp2, cleanup of pending requests due to receipt of the `GOAWAY` frame skips de-allocation of the bookkeeping structure and pending compressed header. The error return [code path] is taken if connection is already marked for not sending more requests due to `GOAWAY` frame. The clean-up code is right after the return statement, causing memory leak. Denial of service through memory exhaustion. This vulnerability was patched in versions(s) 1.26.3, 1.25.8, 1.24.9, 1.23.11.",
    "evidence": "osv:ALPINE-CVE-2023-35945",
    "products": [
      {
        "name": {
          "value": "nghttp2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.46.0-r1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "nghttp2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.47.0-r1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "nghttp2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.51.0-r1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "ALPINE-CVE-2023-35945",
      "aliases": [
        "ALPINE-CVE-2023-35945"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.46.0-r1"
                }
              ]
            }
          ],
          "package": {
            "name": "nghttp2",
            "purl": "pkg:apk/alpine/nghttp2?arch=source",
            "ecosystem": "Alpine:v3.15"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-35945.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.47.0-r1"
                }
              ]
            }
          ],
          "package": {
            "name": "nghttp2",
            "purl": "pkg:apk/alpine/nghttp2?arch=source",
            "ecosystem": "Alpine:v3.16"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-35945.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.51.0-r1"
                }
              ]
            }
          ],
          "package": {
            "name": "nghttp2",
            "purl": "pkg:apk/alpine/nghttp2?arch=source",
            "ecosystem": "Alpine:v3.17"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-35945.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-26T17:17:58.628977724Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-35945"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2023-35945"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-35945",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 454452,
  "published_at": "2023-07-13T21:15:08.88+00:00"
}