{"id":"CVE-2026-145371","aliases":["EUVD-2026-144860","GHSA-g435-phf9-7g5m"],"status":"published","title":"Istio: istiod crash (DoS) via an endpointless DNS ServiceEntry attached to a waypoint","description":"Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.9, 1.31.5, and 1.32.1, in ambient mode, a DNS or DNS_ROUND_ROBIN ServiceEntry attached to a waypoint can resolve to no endpoints. buildCluster then returns nil for the resulting STRICT_DNS or LOGICAL_DNS cluster, and waypoint inbound-cluster generation dereferences it, allowing a namespace-scoped creator to leave istiod crash-looping until the ServiceEntry is removed. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.","severity":{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2026-12-04T21:52:52Z","modified":"2026-12-04T23:00:42Z","fixes":[{"ecosystem":"Go","package":"istio.io/istio","fixed_in":["0.0.0-20261203004151-e22a6713da06"],"sources":["ghsa"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"istio.io/istio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0-20260112152740-3af7534ca9a9"},{"fixed":"0.0.0-20261203004151-e22a6713da06"}]}]}],"products":[{"vendor":"istio","product":"istio"}],"references":[{"url":"https://github.com/istio/istio/security/advisories/GHSA-g435-phf9-7g5m","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/istio/istio/commit/6b287ae54b044448ccbb4d2c045f959021b56e17","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/commit/b9ef120222c5c97a117382bc999900323727f25b","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/commit/bc80e3c2eb672352541197081f7609aa9b854b12","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/releases/tag/1.30.9","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/istio/istio/releases/tag/1.31.5","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/istio/istio/releases/tag/1.32.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/advisories/GHSA-g435-phf9-7g5m"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145371.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145371","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-145371","title":"Istio: istiod crash (DoS) via an endpointless DNS ServiceEntry attached to a waypoint","description":"Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.9, 1.31.5, and 1.32.1, in ambient mode, a DNS or DNS_ROUND_ROBIN ServiceEntry attached to a waypoint can resolve to no endpoints. buildCluster then returns nil for the resulting STRICT_DNS or LOGICAL_DNS cluster, and waypoint inbound-cluster generation dereferences it, allowing a namespace-scoped creator to leave istiod crash-looping until the ServiceEntry is removed. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.","status":"published","published":"2026-12-04T21:52:52.507Z","modified":"2026-12-04T21:52:52.507Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-476"],"updated_at":"2026-12-04T21:59:23.834187Z"}],"euvd":[{"id":"EUVD-2026-144860","description":"Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.9, 1.31.5, and 1.32.1, in ambient mode, a DNS or DNS_ROUND_ROBIN ServiceEntry attached to a waypoint can resolve to no endpoints. buildCluster then returns nil for the resulting STRICT_DNS or LOGICAL_DNS cluster, and waypoint inbound-cluster generation dereferences it, allowing a namespace-scoped creator to leave istiod crash-looping until the ServiceEntry is removed. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.","status":"published","published":"2026-12-04T21:52:52Z","modified":"2026-12-04T21:52:52Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-12-04T23:43:11.593246Z"}],"ghsa":[{"id":"GHSA-g435-phf9-7g5m","title":"Istio: istiod crash (DoS) via an endpointless DNS ServiceEntry attached to a waypoint","description":"### Summary\n\nIn ambient mode, a DNS or DNS_ROUND_ROBIN ServiceEntry that is enrolled in a waypoint but resolves to no endpoints makes istiod panic with a nil pointer dereference while generating the waypoint's inbound clusters. Any user who can create a ServiceEntry in a namespace that uses a waypoint can trigger it with namespace-scoped permissions alone, and istiod crash-loops until the ServiceEntry is removed\n\n### Details\n\nFor STRICT_DNS and LOGICAL_DNS clusters with no locality endpoints, buildCluster deliberately returns nil and records the DNSNoEndpointClusters metric (pilot/pkg/networking/core/cluster_builder.go). A DNS ServiceEntry maps to STRICT_DNS and DNS_ROUND_ROBIN to LOGICAL_DNS, so either builds to nil when it has no endpoints — for example when its workloadSelector matches no workloads. STATIC ServiceEntries are not affected (they map to EDS clusters).\n\nThe waypoint inbound path did not handle that nil: buildWaypointInboundVIPCluster (pilot/pkg/networking/core/cluster_waypoint.go) assigns the buildCluster result and immediately passes it to getOrCreateIstioMetadata(localCluster.cluster), dereferencing it. All append sites in buildWaypointInboundVIP, including the ambient east-west gateway path, go through this function. The equivalent outbound path already guards against the nil.\n\nNo recover() protects CDS generation, so the panic takes istiod down, and it crash-loops while the offending ServiceEntry exists.\n\nThe fix returns early when the built cluster is nil and filters nil clusters out of the inbound-VIP result. Skipping the cluster is safe for the waypoint listeners: waypoint RDS is generated with ValidateClusters: false, so the omitted cluster causes no NACK, and traffic to the (endpointless) service gets a 503 (HTTP) or a closed connection (TCP), matching outbound sidecar behavior.\n\nFixes are available in 1.32.1, 1.31.5 and 1.30.9.\n\n### Workaround\n\nRestrict who may create or edit `ServiceEntry` resources in namespaces enrolled in a waypoint (RBAC or admission policy).\nAvoid DNS / DNS_ROUND_ROBIN ServiceEntries that can resolve to zero endpoints (for example a workloadSelector that matches no workloads) in waypoint-enrolled namespaces.\n\n### Proof of concept\n\nRun Istio in ambient mode and deploy a waypoint for a namespace.\nEnroll the namespace (or a service) in the waypoint with the istio.io/use-waypoint label.\nCreate a DNS (or DNS_ROUND_ROBIN) ServiceEntry in that namespace whose workloadSelector matches no workloads, so it has no endpoints.\nistiod panics with a nil pointer dereference while generating the waypoint's inbound clusters and crash-loops until the ServiceEntry is deleted.\nExpected: the endpointless cluster is skipped and istiod keeps serving.\nObserved: istiod crashes.\n\n### Impact\n\nDenial of service against the istiod control plane. A tenant with only namespace-scoped ServiceEntry create permission can crash istiod for the whole mesh, crossing the namespace-to-control-plane trust boundary. Configuration distribution and certificate rotation stall mesh-wide until the ServiceEntry is removed; the data plane keeps serving its last-known configuration. Requires ambient mode with a waypoint-enrolled namespace. No confidentiality or integrity impact.","status":"published","published":"2026-12-04T22:59:18Z","modified":"2026-12-04T22:59:19Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-476"],"updated_at":"2026-12-04T22:59:48.349285Z"}],"nvd":[{"id":"CVE-2026-145371","description":"Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.9, 1.31.5, and 1.32.1, in ambient mode, a DNS or DNS_ROUND_ROBIN ServiceEntry attached to a waypoint can resolve to no endpoints. buildCluster then returns nil for the resulting STRICT_DNS or LOGICAL_DNS cluster, and waypoint inbound-cluster generation dereferences it, allowing a namespace-scoped creator to leave istiod crash-looping until the ServiceEntry is removed. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.","status":"published","published":"2026-12-04T22:18:19.133Z","modified":"2026-12-04T22:18:19.133Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-476"],"updated_at":"2026-12-04T22:19:01.32028Z"}],"osv":[{"id":"CVE-2026-145371","title":"Istio: istiod crash (DoS) via an endpointless DNS ServiceEntry attached to a waypoint","description":"Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.9, 1.31.5, and 1.32.1, in ambient mode, a DNS or DNS_ROUND_ROBIN ServiceEntry attached to a waypoint can resolve to no endpoints. buildCluster then returns nil for the resulting STRICT_DNS or LOGICAL_DNS cluster, and waypoint inbound-cluster generation dereferences it, allowing a namespace-scoped creator to leave istiod crash-looping until the ServiceEntry is removed. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.","status":"published","published":"2026-12-04T21:52:52.507Z","modified":"2026-12-04T23:00:42.504213646Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-476"],"updated_at":"2026-12-04T23:33:23.04011Z"}]}}
