GHSA-8jw7-82jp-wr2c

Suggest an improvement
Source
https://github.com/advisories/GHSA-8jw7-82jp-wr2c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-8jw7-82jp-wr2c/GHSA-8jw7-82jp-wr2c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8jw7-82jp-wr2c
Aliases
Downstream
CGA (22)
Published
2026-12-04T21:29:02Z
Modified
2026-12-05T18:48:25Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
Istio: istiod crash via AuthorizationPolicy with empty to or from entry in ambient mode
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-476"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-12-04T21:29:02Z",
    "nvd_published_at":  "2026-12-04T21:17:55Z",
    "severity":  "MODERATE"
}
References

Affected packages

Go / istio.io/istio

Package

Name
istio.io/istio
View open source insights on deps.dev
Purl
pkg:golang/istio.io/istio

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-20260112152740-3af7534ca9a9
Fixed
0.0.0-20261107225427-1556b352b64d

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-8jw7-82jp-wr2c/GHSA-8jw7-82jp-wr2c.json"