Skip to content

istiod crash via AuthorizationPolicy with empty to or from entry in ambient mode

Moderate
fjglira published GHSA-8jw7-82jp-wr2c Nov 6, 2026

Package

gomod istio.io/istio (Go)

Affected versions

>= 1.31.0, < 1.31.4
>= 1.30.0, < 1.30.8

Patched versions

1.31.4
1.30.8

Description

Summary

An AuthorizationPolicy with an empty to or from entry crashes istiod mesh-wide in ambient mode, and istiod crash-loops until the policy is removed.

Details

In ambient mode istiod converts each AuthorizationPolicy for ztunnel in handleRule (pilot/pkg/serviceregistry/ambient/authorization.go). It reads to.operation and from.source without a nil check, so a rule with to: [{}] or from: [{}] panics on a krt goroutine and takes istiod down. The CRD schema does not require operation or source, so only the validating webhook rejects these objects. When an AuthorizationPolicy is not validated, e.g. global.configValidation=false, an install without istiod-default-validator (no default revision) and an object with no istio.io/rev label, or the fail-open window before the webhook is ready, the object is stored and istiod crash-loops on every restart until it is deleted. The sidecar and waypoint path is not affected.

Patches

Fixes are available in 1.30.8 and 1.31.4

Workarounds

Keep the validating webhook enforcing for all AuthorizationPolicy objects (global.configValidation=true, and a default revision or default revision tag so istiod-default-validator exists). Delete the offending AuthorizationPolicy to recover.

Proof of concept

  1. Install Istio with ambient mode and an AuthorizationPolicy path that skips validation (e.g. --set values.global.configValidation=false).

  2. In any namespace, create:

    apiVersion: security.istio.io/v1
    kind: AuthorizationPolicy
    metadata:
      name: crash
    spec:
      rules:
      - to:
        - {}
  3. istiod panics with a nil pointer dereference and crash-loops; deleting the AuthorizationPolicy recovers it. from: [{}] has the same effect.

Impact

Denial of service against the istiod control plane. A tenant with AuthorizationPolicy-create in their own namespace can crash istiod for the whole mesh, crossing a namespace boundary. Config distribution and certificate rotation stall mesh-wide until the policy is removed. Ambient mode only, and only where the AuthorizationPolicy is not rejected by the validating webhook.

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H

CVE ID

No known CVE

Weaknesses

NULL Pointer Dereference

The product dereferences a pointer that it expects to be valid but is NULL. Learn more on MITRE.

Credits