Skip to content

v0.6.5

Choose a tag to compare

@briankane briankane released this 20 Nov 14:20
· 52 commits to main since this release
349b99e

A patch release for the 0.6 line used with KubeVela 1.10: the controller image moves to Alpine 3.24, removing
the compromised eMudhra CA roots, the webhook certificates are managed by the controller, and workflow HTTP is
hardened.

Security

  • Controller image on alpine:3.24 (#321). The image was built on alpine:3.15 (end of life since 2023), whose
    CA store still trusts the eMudhra / emSign roots behind the October 2026 intermediate CA compromise. It is now
    alpine:3.24 pinned by digest: the compromised roots are gone (none of the 14 test chains verifies), and the image
    has no Brotli code (CVE-2026-111497).
  • build-push-image uses a maintained kaniko by default (#300):
    ghcr.io/osscontainertools/kaniko:v1.29.1@sha256:e7cba1f7e70c01c8ee1cbe622d07990c04dea550430c4c81319d26679226cd37
    instead of oamdev/kaniko-executor:v1.9.1, whose trust store has the same problem. A step that sets
    kanikoExecutor keeps its image.
  • Workflow HTTP hardening. The request / webhook steps and the vela/http provider:
    • refuse the cloud metadata and link-local addresses: 169.254.0.0/16, fe80::/10, fd00:ec2::254,
      100.100.100.200, metadata.google.internal (#284). The list is a ConfigMap (vela-workflow-http-deny-default)
      that operators can extend; the controller keeps this floor even if it is deleted. Redirects are checked hop by hop
      and capped at 10.
    • bound each request: a timeout of 0, a negative one or one above workflow.http.maxTimeout (default 60s) is
      refused, an unset one stays 3s, and a response body over workflow.http.maxResponseBytes (default 1 MiB) fails the
      step (#291);
    • read a step's TLS Secret only from the step's namespace (#291);
    • check the IPv4 address inside a NAT64 address (#291).

Changes

  • Webhook certificates in the controller (#309). The chart no longer runs the kube-webhook-certgen Jobs: the
    controller creates or reuses its TLS Secret, serves from it and patches the webhook configurations' CA bundle.
    cert-manager mode is unchanged, and the old admissionWebhooks.patch.* values are still accepted (#314 removed the
    unused ones from values.yaml).
  • The chart's version now comes from the tag (#302), so this release publishes chart 0.6.5.
  • v0.6.4's user-facing changes, now on the KubeVela 1.10 line (#327). v0.6.4 was tagged from a line that also
    had later main changes; v0.6.5 is built from release-0.6-vela-1.10, what KubeVela 1.10 builds against, and
    keeps what v0.6.4 users rely on:
    • the admissionWebhookTimeout chart value (default 10), rendered as each webhook's timeoutSeconds;
    • the vela/config provider, with the create-config / read-config / list-config / delete-config steps on it,
      so config steps work in standalone workflow;
    • the WorkflowStepDefinition CRD as in KubeVela 1.10;
    • the step definitions on the vela/kube and builtin packages, and a message parameter for suspend.

Upgrade notes

helm repo update kubevela
helm upgrade vela-workflow kubevela/vela-workflow --version 0.6.5 -n vela-system
  • Webhook certificates: on upgrade the controller creates or reuses its TLS Secret and patches the webhook
    configurations itself. Nothing to do; the certgen Jobs are no longer created.
  • HTTP steps that may now fail: a step calling a metadata or link-local address; a timeout of 0, a negative one
    or one over 60s; a response over 1 MiB; a TLS Secret in another namespace. Fix the step, or raise
    workflow.http.maxTimeout / workflow.http.maxResponseBytes. To also block private (RFC 1918 / ULA) addresses, set
    workflow.blockPrivateHTTPAddresses: true; to turn workflow HTTP off, workflow.disableWorkflowHTTP: true.
  • From v0.6.4: the changes above are kept. v0.6.4's move to CUE 0.14 and kubevela/pkg v1.10 is not on this
    line (#214, #216, #221, #227): KubeVela 1.10 stays on CUE 0.9.2, and so does this release.

Image

oamdev/vela-workflow:v0.6.5@sha256:afa9b6429b3f911c9ab3bf9f8308274d9130449b46dac50dc40eaa7cd39ff04d (linux/amd64, linux/arm64), also on
ghcr.io/kubevela/oamdev/vela-workflow. Chart 0.6.5 in https://kubevela.github.io/charts.

What's Changed

  • [Backport release-0.6-vela-1.10] Feat: ConfigMap-driven workflow HTTP denylist and SSRF hardening by @roguepikachu in #284
  • [Backport release-0.6-vela-1.10] Fix: workflow HTTP fixes from the v1.12 release testing by @briankane in #291
  • [Backport release-0.6-vela-1.10] Fix: default build-push-image to a maintained kaniko image for the eMudhra CA fix by @jerrinfrancis in #300
  • [Backport release-0.6-vela-1.10] Fix: use triggering tag for chart version by @jerrinfrancis in #302
  • [Backport release-0.6-vela-1.10] Feat: manage webhook certificates in the controller by @vishal210893 in #309
  • [Backport release-0.6-vela-1.10] Chore: remove the unused certgen values by @jerrinfrancis in #314
  • [Backport release-0.6-vela-1.10] Fix: move the controller image to alpine 3.24 for the eMudhra CA fix by @jerrinfrancis in #321
  • [Backport release-0.6-vela-1.10] Chore(ci): pin the actions by commit SHA and run on ubuntu-24.04 by @jerrinfrancis in #325
  • [Backport release-0.6-vela-1.10] Fix: bring v0.6.4's user-facing changes to the 1.10 line by @briankane in #327

Full Changelog: v0.6.4...v0.6.5