github akuity/kargo v1.10.19

latest release: v1.9.19
2 hours ago

Critical Security Updates

This release contains critical security updates. All users of Kargo v1.10 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-template and helm-update-chart check every entry beneath the chart directory, and copy checks every entry beneath outPath, 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

  • repoURL must be an HTTP(S) or SSH URL. Other transports, such as git:// and file://, 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[].path must 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-clone step. The step fails if the working tree contains any .git file or directory that git-clone did not create, such as one extracted from an archive. This affects only Promotions that place another repository's .git inside a working tree, which we expect to be rare.

untar

  • .git entries are now skipped even when ignore is set. To extract them, add !.git/ to ignore. They were already skipped when ignore was not set, and archives seldom contain them.

kustomize-build

  • Each generators entry must be inline or name a local file. Directories and remote URLs are refused. We expect kustomizations that list either under generators to be uncommon.
  • For Helm chart inflation, the first three changes below affect only kustomizations that set nameTemplate, helmGlobals.configHome or helmGlobals.chartHome, none of which appear in Kargo's documentation.
    • nameTemplate is no longer supported. Use releaseName instead.
    • Helm runs with an empty configuration. Plugins, registry credentials and any other Helm settings stored in helmGlobals.configHome are no longer used.
    • helmGlobals.chartHome and helmGlobals.configHome must 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 in name. Move that part to repo instead.

What's Changed

  • chore(deps): bump anchore/sbom-action from 0.24.3 to 0.24.4 by @dependabot[bot] in #8247
  • chore(deps): bump sigstore/cosign-installer from 4.1.3 to 4.1.4 by @dependabot[bot] in #8248
  • chore(deps): bump aws-actions/configure-aws-credentials from 6.3.0 to 6.3.1 by @dependabot[bot] in #8249
  • chore(deps): bump amannn/action-semantic-pull-request from 6.1.3 to 6.1.4 by @dependabot[bot] in #8250
  • chore(deps): bump anchore/scan-action/download-grype from 7.4.2 to 7.4.3 by @dependabot[bot] in #8251
  • chore(deps): bump the go-patch group with 6 updates by @dependabot[bot] in #8256
  • 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 #8257

Full Changelog: v1.10.18...v1.10.19

Don't miss a new kargo release

NewReleases is sending notifications on new releases.