Description
The dataplane token validator in kuma-cp performs an unchecked Go type assertion on the JWT kid header. A token whose kid is a JSON number decodes as a float64 and triggers a runtime panic before any signature, claims, or authorization check runs.
The panic terminates the entire kuma-cp process, HTTP API, the health and readiness endpoints, and xDS. Unauthenticated access to the dataplane gRPC server can trigger the crash with a malformed token
A single request is a transient interruption; sustaining an outage requires repeated requests.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Kong | Kong Mesh | < 2.7.29, 2.8.0 – < 2.9.19, 2.10.0 – < 2.11.18, 2.12.0 – < 2.12.14, 2.13.0 – < 2.13.10, 2.14.0 – < 2.14.2 | 2.7.29 |
References
- Upstream advisory GHSA-5mxq-7xq4-3vx8 vendor-advisory
- kumahq/kuma#17465 (master) patch
- kumahq/kuma#17468 (release-2.14 backport) patch
- kumahq/kuma#17467 (release-2.13 backport) patch
- kumahq/kuma#17471 (release-2.12 backport) patch
- kumahq/kuma#17469 (release-2.11 backport) patch
- kumahq/kuma#17470 (release-2.9 backport) patch
- kumahq/kuma#17472 (release-2.7 backport) patch
- Kong Product Security Advisories release-notes