GitHub Advisory Database
GHSA-9gcg-w975-3rjh
Istio: AuthorizationPolicy serviceAccounts regex injection via unescaped dots
Details
Impact
The serviceAccounts and notServiceAccounts fields in AuthorizationPolicy incorrectly interpret dots (.) as a regular expression matcher. Because . is a valid character in a service account name, an AuthorizationPolicy ALLOW rule targeting SA e.g. cert-manager.io also matches cert-manager-io, cert-managerXio, etc. A DENY rule targeting the same name fails to block those variants.
Patches
Fixes are available in 1.29.2, 1.28.6, and 1.27.9
Workarounds
None
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | istio.io/istio | From 0.0.0-20241024090207-0bf27d49ba4b before 0.0.0-20260403004500-692e460c342d (fixed in 0.0.0-20260403004500-692e460c342d) |