{"id":"CVE-2023-35945","summary":"Envoy vulnerable to HTTP/2 memory leak in nghttp2 codec","details":"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.","aliases":["BIT-envoy-2023-35945","GHSA-jfxv-29pc-x22r"],"modified":"2026-04-10T05:00:53.272094Z","published":"2023-07-13T20:41:15.690Z","related":["SUSE-SU-2023:3842-1","SUSE-SU-2023:3997-1","SUSE-SU-2023:4102-1","openSUSE-SU-2024:13062-1"],"database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35945.json","cwe_ids":["CWE-400"]},"references":[{"type":"WEB","url":"https://github.com/nghttp2/nghttp2/blob/e7f59406556c80904b81b593d38508591bb7523a/lib/nghttp2_session.c#L3346"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35945.json"},{"type":"ADVISORY","url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-jfxv-29pc-x22r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35945"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/envoyproxy/envoy","events":[{"introduced":"51964702956d64adcd1df6b8ea132e863fe78e74"},{"fixed":"ea9d25e93cef74b023c95ca1a3f79449cdf7fa9a"}],"database_specific":{"versions":[{"introduced":"1.26.0"},{"fixed":"1.26.3"}]}},{"type":"GIT","repo":"https://github.com/envoyproxy/envoy","events":[{"introduced":"9184b84cd0dcb3a6c57eb44b177d91c70e1a0901"},{"fixed":"63ec332cbacd277f8937b4eca71f8e1629e4c1f7"}],"database_specific":{"versions":[{"introduced":"1.25.0"},{"fixed":"1.25.8"}]}},{"type":"GIT","repo":"https://github.com/envoyproxy/envoy","events":[{"introduced":"15baf56003f33a07e0ab44f82f75a660040db438"},{"fixed":"0b7452dd17625093ff1646b6b22b36f35bd9ee56"}],"database_specific":{"versions":[{"introduced":"1.24.0"},{"fixed":"1.24.9"}]}},{"type":"GIT","repo":"https://github.com/envoyproxy/envoy","events":[{"introduced":"ce49c7f65668a22b80d1e83c35d170741bb8d46a"},{"fixed":"84dd90f2220ca8661b67d7efa1f93d67e1218222"}],"database_specific":{"versions":[{"introduced":"1.23.0"},{"fixed":"1.23.11"}]}}],"versions":["v1.23.0","v1.23.1","v1.23.10","v1.23.2","v1.23.3","v1.23.4","v1.23.5","v1.23.6","v1.23.7","v1.23.8","v1.23.9","v1.24.0","v1.24.1","v1.24.2","v1.24.3","v1.24.4","v1.24.5","v1.24.6","v1.24.7","v1.24.8","v1.25.0","v1.25.1","v1.25.2","v1.25.3","v1.25.4","v1.25.5","v1.25.6","v1.25.7","v1.26.0","v1.26.1","v1.26.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-35945.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/tatsuhiro-t/nghttp2","events":[{"introduced":"0"},{"fixed":"781057e15626bf403c8739c25166ad123aa17ff3"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.55.1"}]}}],"versions":["v0.2.0","v0.3.0","v0.3.1","v0.4.0","v0.4.1","v0.5.0","v0.5.1","v0.6.0","v0.6.1","v0.6.2","v0.6.3","v0.6.4","v0.6.5","v0.6.6","v0.6.7","v0.7.0","v0.7.1","v0.7.10","v0.7.11","v0.7.12","v0.7.13","v0.7.14","v0.7.15","v0.7.2","v0.7.3","v0.7.4","v0.7.5","v0.7.6","v0.7.7","v0.7.8","v0.7.9","v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.1.0","v1.1.1","v1.1.2","v1.10.0","v1.11.0","v1.12.0","v1.13.0","v1.14.0","v1.15.0","v1.16.0","v1.17.0","v1.18.0","v1.19.0","v1.2.0","v1.2.1","v1.20.0","v1.21.0","v1.22.0","v1.23.0","v1.24.0","v1.25.0","v1.26.0","v1.27.0","v1.28.0","v1.29.0","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.3.4","v1.30.0","v1.31.0","v1.32.0","v1.33.0","v1.34.0","v1.35.0","v1.36.0","v1.37.0","v1.38.0","v1.39.0","v1.4.0","v1.40.0","v1.41.0","v1.42.0","v1.43.0","v1.44.0","v1.45.0","v1.46.0","v1.47.0","v1.48.0","v1.49.0","v1.5.0","v1.50.0","v1.51.0","v1.52.0","v1.53.0","v1.54.0","v1.55.0","v1.6.0","v1.7.0","v1.8.0","v1.9.0","v1.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-35945.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}