Critical Security Updates
This release contains critical security updates. All users of Kargo v1.11 should upgrade.
Security advisories with full details will be published soon.
Breaking Changes
Closing these security issues required small, unavoidable changes to some built-in promotion steps. Each change below is breaking: a Promotion that relies on the old behavior will fail after upgrading. Most of them rule out patterns that Kargo's documentation has never shown, and we expect very few users to be affected.
All Steps That Read or Write Files
- A path that climbs out of the promotion workspace, such as
../out, now fails the step. Previously, it was silently redirected into the workspace, so it never referred to the location it appeared to. - A path that passes through a symlink leading outside the workspace now fails the step. So does a path that passes through a symlink whose target is an absolute path, even when that target is inside the workspace.
helm-templateandhelm-update-chartcheck every entry beneath the chart directory, andcopychecks every entry beneathoutPath, so such a symlink there fails the step even if the step does not use it. This affects only repositories and archives that contain such symlinks, which we expect to be rare.
git-clone
repoURLmust be an HTTP(S) or SSH URL. Other transports, such asgit://andfile://, and local paths are refused. Warehouse Git subscriptions have always required HTTP(S) or SSH URLs, so we expect this to affect very few users.checkout[].pathmust be a subdirectory of the workspace, not the workspace itself. Kargo's documentation has never shown a checkout into the workspace itself.
git-commit, git-push, git-tag, git-clear and github-push
- The working tree must have been created by a
git-clonestep. The step fails if the working tree contains any.gitfile or directory thatgit-clonedid not create, such as one extracted from an archive. This affects only Promotions that place another repository's.gitinside a working tree, which we expect to be rare.
untar
.gitentries are now skipped even whenignoreis set. To extract them, add!.git/toignore. They were already skipped whenignorewas not set, and archives seldom contain them.
kustomize-build
- Each
generatorsentry must be inline or name a local file. Directories and remote URLs are refused. We expect kustomizations that list either undergeneratorsto be uncommon. - For Helm chart inflation, the first three changes below affect only kustomizations that set
nameTemplate,helmGlobals.configHomeorhelmGlobals.chartHome, none of which appear in Kargo's documentation.nameTemplateis no longer supported. UsereleaseNameinstead.- Helm runs with an empty configuration. Plugins, registry credentials and any other Helm settings stored in
helmGlobals.configHomeare no longer used. helmGlobals.chartHomeandhelmGlobals.configHomemust be relative paths that stay inside the workspace, or inside a remote kustomization's own directory.- Chart names and versions must not contain
/. Helm chart names and versions cannot contain/themselves, so this affects only kustomizations that put part of an OCI repository's path inname. Move that part torepoinstead.
What's Changed
- chore(deps): bump anchore/sbom-action from 0.24.3 to 0.24.4 by @dependabot[bot] in #8227
- chore(deps): bump anchore/scan-action/download-grype from 7.4.2 to 7.4.3 by @dependabot[bot] in #8228
- chore(deps): bump aws-actions/configure-aws-credentials from 6.3.0 to 6.3.1 by @dependabot[bot] in #8229
- chore(deps): bump sigstore/cosign-installer from 4.1.3 to 4.1.4 by @dependabot[bot] in #8230
- chore(deps): bump amannn/action-semantic-pull-request from 6.1.2 to 6.1.4 by @dependabot[bot] in #8231
- chore(deps): bump the go-patch group with 7 updates by @dependabot[bot] in #8232
- chore(deps): bump github.com/expr-lang/expr from 1.17.8 to 1.18.1 in the go-minor group by @dependabot[bot] in #8233
Full Changelog: v1.11.12...v1.11.13