Repository navigation
A security patch for the 1.9 line, the cluster-gateway that KubeVela 1.10 and 1.11 compile against, for the
eMudhra CA compromise. It also makes the newer gateways start with the arguments KubeVela's chart passes today.
Why
- The gateway image was built
FROM alpine:3(floating) and the addon-manager onmultiarch/alpine:*-v3.13
(end of life since 2022), so each image trusted whatever CA bundle Alpine had on its build day.v1.9.0-alpha.2
(what KubeVela's charts run),v1.9.1and the oldlatestall trust the compromised eMudhra / emSign chains
(14 of 14 test chains accepted). - CVE-2026-111497 (Brotli): not in these images (no Brotli library or decoder); scanned clean before and after.
What changed
- Runtime images pinned: the gateway and the addon-manager run on
alpine:3.24by digest (3.24.4,
ca-certificates-bundle 20261020); the builder images are pinned by digest too. No Go change (Go 1.23). - KubeVela's removed feature gate is accepted: every KubeVela chart starts the gateway with
--feature-gates=APIPriorityAndFairness=false,.... That gate was removed from Kubernetes, and gateways built on
k8s.io/apiserverv0.31+ exited on it ("unrecognized feature gate"). The gateway now drops it and passes its value as
--enable-priority-and-fairness, with a warning in the log; an explicit--enable-priority-and-fairnesswins, and a
malformed value is still rejected. So this image runs under the KubeVela charts already installed. - Release engineering: release branches (
release-1.9here), CI on them, candidate images<branch>-<sha>
from every branch push,latestonly for the newest release, one workflow per published image, a multi-arch
addon-manager that matches each platform.
Scan result: the gateway and addon-manager images (amd64 and arm64) have no Brotli finding, and their trust
stores reject all 14 eMudhra test chains.
Using it with KubeVela 1.10 / 1.11
Set the gateway image of the vela-core chart:
helm upgrade kubevela kubevela/vela-core -n vela-system --reuse-values \
--set multicluster.clusterGateway.image.repository=oamdev/cluster-gateway \
--set multicluster.clusterGateway.image.tag=v1.9.2Tested with the vela-core charts 1.10.9 and 1.11.1 as released: the gateway starts (the log shows the feature-gate
warning), clusters join, and Applications deploy, update, read (vela status, vela logs) and delete on the joined
cluster.
-
With
authentication.enabled=true, this gateway also needs to read validating admission policies; KubeVela's
limited ClusterRole doesn't allow it yet (a KubeVela chart fix follows). Until then every request is refused with
"not yet ready to handle request". Grant it to vela-core's ServiceAccount:apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: cluster-gateway-admission-policies rules: - apiGroups: ["admissionregistration.k8s.io"] resources: ["validatingadmissionpolicies", "validatingadmissionpolicybindings"] verbs: ["get", "list", "watch"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: cluster-gateway-admission-policies roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-gateway-admission-policies subjects: - kind: ServiceAccount name: kubevela-vela-core namespace: vela-system
-
The chart files attached to this release are versioned
0.1.0(a known packaging issue); KubeVela doesn't use them.
Images
oamdev/cluster-gateway:v1.9.2@sha256:7cc34439263689a4d11042db38ce54f5da893d8e533c01917f2450dcf11a0544
(linux/amd64,linux/arm64), alsoghcr.io/oam-dev/cluster-gateway:v1.9.2;latestpoints here.oamdev/cluster-gateway-addon-manager:v1.9.2@sha256:3e868e9345bfafe8f369df97e5a15d19677e8ffdac4ca6bd3fe3027405f3d9a7
(linux/amd64,linux/arm64).
What's Changed
- Chore: Upgrade golang to 1.23 by @vishal210893 in #160
- chore: upgrades all k8s deps version to latest patch of k8s 1.31 by @semmet95 in #162
- [Backport release-1.9] ci: CI and image publishing for release branches by @jerrinfrancis in #182
- [Backport release-1.9] fix: pin the runtime images (eMudhra CA fix) and accept the removed APIPriorityAndFairness gate by @jerrinfrancis in #186
The CI and fix changes landed on master in #181 and #184.
Full Changelog: v1.9.1...v1.9.2