Kong Kubernetes Ingress Controller cluster-wide ingress configuration DoS via CA-certificate ID collision
Kong Kubernetes Ingress Controller (KIC) allows a user with namespace-scoped Secret creation privileges to cause a cluster-wide ingress configuration denial of service. KIC collects CA-certificate Secrets across all watched namespaces using a label selector alone, without ingress-class or namespace restrictions. The CA-certificate primary key is derived from a user-supplied field in the Secret. Duplicate CA-certificate IDs cause Kong Gateway to reject the entire configuration document and halting all ingress changes cluster-wide.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.4.0, < 3.4.18
- >= 3.5.0, < 3.5.11
Fixed in 3.4.18, 3.5.11
Mitigation
Users should upgrade to the patched version of KIC (3.4.18; 3.5.11)
Workaround
* Restrict watch scope: Set --watch-namespace (or env CONTROLLER_WATCH_NAMESPACE) to only include trusted namespaces. This prevents the embedded KIC from ingesting Secrets from untrusted namespaces. * Restrict Secret labeling via RBAC: Use Kubernetes RBAC to prevent untrusted users from creating or modifying Secrets with the labels konghq.com/secret=true and konghq.com/ca-cert=true. Consider using an admission webhook or OPA/Kyverno policy to enforce this label restriction. * Audit existing CA-cert Secrets: Inspect Secrets labeled konghq.com/ca-cert=true across all watched namespaces for unexpected or duplicate data.id values. Remove any that were not provisioned by a trusted operator.
References
- Vendor advisory github.com/Kong/kubernetes-ingress-controller/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.