From 28bfecb106e6b7cadffa8416486dc91e41c8dfee Mon Sep 17 00:00:00 2001 From: Trent Clarke Date: Wed, 11 Oct 2023 23:30:33 +1100 Subject: [PATCH 1/3] Release 13.4.3 --- CHANGELOG.md | 24 +++++++ Makefile | 2 +- api/version.go | 2 +- .../macos/tsh/tsh.app/Contents/Info.plist | 4 +- .../macos/tshdev/tsh.app/Contents/Info.plist | 4 +- examples/chart/teleport-cluster/Chart.yaml | 2 +- .../charts/teleport-operator/Chart.yaml | 2 +- .../auth_deployment_test.yaml.snap | 10 +-- .../proxy_deployment_test.yaml.snap | 18 +++--- examples/chart/teleport-kube-agent/Chart.yaml | 2 +- .../__snapshot__/deployment_test.yaml.snap | 58 ++++++++--------- .../tests/__snapshot__/job_test.yaml.snap | 10 +-- .../__snapshot__/statefulset_test.yaml.snap | 64 +++++++++---------- .../updater_deployment_test.yaml.snap | 4 +- integrations/kube-agent-updater/version.go | 2 +- version.go | 2 +- 16 files changed, 117 insertions(+), 93 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77f20b99fe5fb..a93327af20408 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## 13.4.3 (10/11/23) + +* Fixed multiple discovery install attempts on Azure & GCP VMs [#32570](https://github.com/gravitational/teleport/pull/32570) +* Fixed Access List caching & eventing issues [#32651](https://github.com/gravitational/teleport/pull/32651) +* Teleport client now uses gRPC when creating tracing client [#32664](https://github.com/gravitational/teleport/pull/32664) +* Fixed a corner case of privilege tokens where MFA devices disabled by cluster settings were still counted against the user [#32668](https://github.com/gravitational/teleport/pull/32668) +* Fixed spurious timeouts in Database Access Sessions Fixed spurious timeouts in Database Access Sessions +* Added connection information to multiplexer logs [#32739](https://github.com/gravitational/teleport/pull/32739) +* Fixed panic on `tsh device enroll --current-device` [#32757](https://github.com/gravitational/teleport/pull/32757) +* Added Discover flow for enrolling EC2 Instances with EICE [#32766](https://github.com/gravitational/teleport/pull/32766) +* The Teleport `etcd` backend will now start if some nodes are unreachable [#32778](https://github.com/gravitational/teleport/pull/32778) +* Adds Audit Review recurrence presets [#32961](https://github.com/gravitational/teleport/pull/32961) +* Fixed issue causing keys to be incorrectly removed in tsh and Teleport Connect on Windows [#32964](https://github.com/gravitational/teleport/pull/32964) +* Added cost optimized pagination search for athena [#33006](https://github.com/gravitational/teleport/pull/33006) +* Allow "auth unreachable" error message to be configurable [#33037](https://github.com/gravitational/teleport/pull/33037) +* Fixed user session tracking across trusted clusters [#32996](https://github.com/gravitational/teleport/pull/32996) +* Fixed issue when playing back a session recorded on a leaf cluster [#33104](https://github.com/gravitational/teleport/pull/33104) +* Teleport now reports initial command to session moderators [#33113](https://github.com/gravitational/teleport/pull/33113) +* OneOff install script now installs enterprise Teleport when generated by an enterprise cluster [#33147](https://github.com/gravitational/teleport/pull/33147) +* Fixed self-signed certificate issue on macOS [#33157](https://github.com/gravitational/teleport/pull/33157) +* Discovery EC2 instance listing now shows instance name [#33178](https://github.com/gravitational/teleport/pull/33178) +* Improved error messaging in `tsh kube credentials` when root cluster roles don't allow Kube access [#33211](https://github.com/gravitational/teleport/pull/33211) +* Fixed RecursiveChown privilege escalation due to following symlinks [#33247](https://github.com/gravitational/teleport/pull/33247) + ## 13.4.1 (09/26/23) * Fixed `create_host_user_mode` issue with TeleportRole in the Teleport Operator CRDs [#32556](https://github.com/gravitational/teleport/pull/32556) diff --git a/Makefile b/Makefile index 11707859b78a4..7e5b0d0d92bcc 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ # Stable releases: "1.0.0" # Pre-releases: "1.0.0-alpha.1", "1.0.0-beta.2", "1.0.0-rc.3" # Master/dev branch: "1.0.0-dev" -VERSION=13.4.1 +VERSION=13.4.3 DOCKER_IMAGE ?= teleport diff --git a/api/version.go b/api/version.go index b7e07db0f1f83..9f4cfd5ef19fc 100644 --- a/api/version.go +++ b/api/version.go @@ -1,7 +1,7 @@ // Code generated by "make version". DO NOT EDIT. package api -const Version = "13.4.1" +const Version = "13.4.3" // Gitref is set to the output of "git describe" during the build process. var Gitref string diff --git a/build.assets/macos/tsh/tsh.app/Contents/Info.plist b/build.assets/macos/tsh/tsh.app/Contents/Info.plist index 75eb914b916e7..bd6b1385c6511 100644 --- a/build.assets/macos/tsh/tsh.app/Contents/Info.plist +++ b/build.assets/macos/tsh/tsh.app/Contents/Info.plist @@ -19,13 +19,13 @@ CFBundlePackageType APPL CFBundleShortVersionString - 13.4.1 + 13.4.3 CFBundleSupportedPlatforms MacOSX CFBundleVersion - 13.4.1 + 13.4.3 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/build.assets/macos/tshdev/tsh.app/Contents/Info.plist b/build.assets/macos/tshdev/tsh.app/Contents/Info.plist index 3f4ce1056e372..98c2d6fb6c008 100644 --- a/build.assets/macos/tshdev/tsh.app/Contents/Info.plist +++ b/build.assets/macos/tshdev/tsh.app/Contents/Info.plist @@ -17,13 +17,13 @@ CFBundlePackageType APPL CFBundleShortVersionString - 13.4.1 + 13.4.3 CFBundleSupportedPlatforms MacOSX CFBundleVersion - 13.4.1 + 13.4.3 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/examples/chart/teleport-cluster/Chart.yaml b/examples/chart/teleport-cluster/Chart.yaml index 2d65bdb62534e..0c31838ea5dc6 100644 --- a/examples/chart/teleport-cluster/Chart.yaml +++ b/examples/chart/teleport-cluster/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "13.4.1" +.version: &version "13.4.3" name: teleport-cluster apiVersion: v2 diff --git a/examples/chart/teleport-cluster/charts/teleport-operator/Chart.yaml b/examples/chart/teleport-cluster/charts/teleport-operator/Chart.yaml index 5fc8bfbca5e06..bd99b7e4f4a51 100644 --- a/examples/chart/teleport-cluster/charts/teleport-operator/Chart.yaml +++ b/examples/chart/teleport-cluster/charts/teleport-operator/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "13.4.1" +.version: &version "13.4.3" name: teleport-operator apiVersion: v2 diff --git a/examples/chart/teleport-cluster/tests/__snapshot__/auth_deployment_test.yaml.snap b/examples/chart/teleport-cluster/tests/__snapshot__/auth_deployment_test.yaml.snap index 81a48bd894d00..1772fa7d39d07 100644 --- a/examples/chart/teleport-cluster/tests/__snapshot__/auth_deployment_test.yaml.snap +++ b/examples/chart/teleport-cluster/tests/__snapshot__/auth_deployment_test.yaml.snap @@ -1,6 +1,6 @@ should add an operator side-car when operator is enabled: 1: | - image: public.ecr.aws/gravitational/teleport-operator:13.4.1 + image: public.ecr.aws/gravitational/teleport-operator:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -41,7 +41,7 @@ should add an operator side-car when operator is enabled: - args: - --diag-addr=0.0.0.0:3000 - --apply-on-startup=/etc/teleport/apply-on-startup.yaml - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -174,7 +174,7 @@ should set nodeSelector when set in values: - args: - --diag-addr=0.0.0.0:3000 - --apply-on-startup=/etc/teleport/apply-on-startup.yaml - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -271,7 +271,7 @@ should set resources when set in values: - args: - --diag-addr=0.0.0.0:3000 - --apply-on-startup=/etc/teleport/apply-on-startup.yaml - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -357,7 +357,7 @@ should set securityContext when set in values: - args: - --diag-addr=0.0.0.0:3000 - --apply-on-startup=/etc/teleport/apply-on-startup.yaml - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent lifecycle: preStop: diff --git a/examples/chart/teleport-cluster/tests/__snapshot__/proxy_deployment_test.yaml.snap b/examples/chart/teleport-cluster/tests/__snapshot__/proxy_deployment_test.yaml.snap index 2fae84eb2e625..1b872d9a7c0b6 100644 --- a/examples/chart/teleport-cluster/tests/__snapshot__/proxy_deployment_test.yaml.snap +++ b/examples/chart/teleport-cluster/tests/__snapshot__/proxy_deployment_test.yaml.snap @@ -5,7 +5,7 @@ should provision initContainer correctly when set in values: - wait - no-resolve - RELEASE-NAME-auth-v12.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 name: wait-auth-update - args: - echo test @@ -62,7 +62,7 @@ should set nodeSelector when set in values: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -123,7 +123,7 @@ should set nodeSelector when set in values: - wait - no-resolve - RELEASE-NAME-auth-v12.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 name: wait-auth-update nodeSelector: environment: security @@ -174,7 +174,7 @@ should set resources when set in values: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -242,7 +242,7 @@ should set resources when set in values: - wait - no-resolve - RELEASE-NAME-auth-v12.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 name: wait-auth-update serviceAccountName: RELEASE-NAME-proxy terminationGracePeriodSeconds: 60 @@ -275,7 +275,7 @@ should set securityContext for initContainers when set in values: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -343,7 +343,7 @@ should set securityContext for initContainers when set in values: - wait - no-resolve - RELEASE-NAME-auth-v12.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 name: wait-auth-update securityContext: allowPrivilegeEscalation: false @@ -383,7 +383,7 @@ should set securityContext when set in values: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -451,7 +451,7 @@ should set securityContext when set in values: - wait - no-resolve - RELEASE-NAME-auth-v12.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 name: wait-auth-update securityContext: allowPrivilegeEscalation: false diff --git a/examples/chart/teleport-kube-agent/Chart.yaml b/examples/chart/teleport-kube-agent/Chart.yaml index 3477ea75612a5..86bbbeb439f35 100644 --- a/examples/chart/teleport-kube-agent/Chart.yaml +++ b/examples/chart/teleport-kube-agent/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "13.4.1" +.version: &version "13.4.3" name: teleport-kube-agent apiVersion: v2 diff --git a/examples/chart/teleport-kube-agent/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/teleport-kube-agent/tests/__snapshot__/deployment_test.yaml.snap index ebc9ba648bde4..b1062a3390bba 100644 --- a/examples/chart/teleport-kube-agent/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/teleport-kube-agent/tests/__snapshot__/deployment_test.yaml.snap @@ -30,7 +30,7 @@ sets Deployment annotations when specified if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -101,7 +101,7 @@ sets Deployment labels when specified if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -159,7 +159,7 @@ sets Pod annotations when specified if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -217,7 +217,7 @@ sets Pod labels when specified if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -292,7 +292,7 @@ should add emptyDir for data when existingDataVolume is not set if action is Upg env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -351,7 +351,7 @@ should add insecureSkipProxyTLSVerify to args when set in values if action is Up env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -409,7 +409,7 @@ should correctly configure existingDataVolume when set if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -465,7 +465,7 @@ should expose diag port if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -535,7 +535,7 @@ should have multiple replicas when replicaCount is set (using .replicaCount, dep env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -605,7 +605,7 @@ should have multiple replicas when replicaCount is set (using highAvailability.r env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -663,7 +663,7 @@ should have one replica when replicaCount is not set if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -721,7 +721,7 @@ should mount extraVolumes and extraVolumeMounts if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -786,7 +786,7 @@ should mount tls.existingCASecretName and set environment when set in values if value: "true" - name: SSL_CERT_FILE value: /etc/teleport-tls-ca/ca.pem - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -854,7 +854,7 @@ should mount tls.existingCASecretName and set extra environment when set in valu value: http://username:password@my.proxy.host:3128 - name: SSL_CERT_FILE value: /etc/teleport-tls-ca/ca.pem - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -918,7 +918,7 @@ should provision initContainer correctly when set in values if action is Upgrade env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1012,7 +1012,7 @@ should set SecurityContext if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1090,7 +1090,7 @@ should set affinity when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1148,7 +1148,7 @@ should set default serviceAccountName when not set in values if action is Upgrad env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1219,7 +1219,7 @@ should set environment when extraEnv set in values if action is Upgrade: value: "true" - name: HTTPS_PROXY value: http://username:password@my.proxy.host:3128 - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1335,7 +1335,7 @@ should set imagePullPolicy when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: Always livenessProbe: failureThreshold: 6 @@ -1393,7 +1393,7 @@ should set nodeSelector if set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1453,7 +1453,7 @@ should set not set priorityClassName when not set in values if action is Upgrade env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1523,7 +1523,7 @@ should set preferred affinity when more than one replica is used if action is Up env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1581,7 +1581,7 @@ should set priorityClassName when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1640,7 +1640,7 @@ should set probeTimeoutSeconds when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1708,7 +1708,7 @@ should set required affinity when highAvailability.requireAntiAffinity is set if env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1766,7 +1766,7 @@ should set resources when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1831,7 +1831,7 @@ should set serviceAccountName when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1889,7 +1889,7 @@ should set tolerations when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/examples/chart/teleport-kube-agent/tests/__snapshot__/job_test.yaml.snap b/examples/chart/teleport-kube-agent/tests/__snapshot__/job_test.yaml.snap index c9ee59604d670..19618ec5ad071 100644 --- a/examples/chart/teleport-kube-agent/tests/__snapshot__/job_test.yaml.snap +++ b/examples/chart/teleport-kube-agent/tests/__snapshot__/job_test.yaml.snap @@ -25,7 +25,7 @@ should create ServiceAccount for post-delete hook by default: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: @@ -104,7 +104,7 @@ should not create ServiceAccount for post-delete hook if serviceAccount.create i fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: @@ -132,7 +132,7 @@ should not create ServiceAccount, Role or RoleBinding for post-delete hook if se fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: @@ -160,7 +160,7 @@ should set nodeSelector in post-delete hook: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: @@ -190,7 +190,7 @@ should set securityContext in post-delete hook: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: diff --git a/examples/chart/teleport-kube-agent/tests/__snapshot__/statefulset_test.yaml.snap b/examples/chart/teleport-kube-agent/tests/__snapshot__/statefulset_test.yaml.snap index 30934ac8881b6..0f5ed27843c8a 100644 --- a/examples/chart/teleport-kube-agent/tests/__snapshot__/statefulset_test.yaml.snap +++ b/examples/chart/teleport-kube-agent/tests/__snapshot__/statefulset_test.yaml.snap @@ -16,7 +16,7 @@ sets Pod annotations when specified: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -84,7 +84,7 @@ sets Pod labels when specified: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -176,7 +176,7 @@ sets StatefulSet labels when specified: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -272,7 +272,7 @@ should add insecureSkipProxyTLSVerify to args when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -340,7 +340,7 @@ should add volumeClaimTemplate for data volume when using StatefulSet and action fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -428,7 +428,7 @@ should add volumeClaimTemplate for data volume when using StatefulSet and is Fre fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -506,7 +506,7 @@ should add volumeMount for data volume when using StatefulSet: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -574,7 +574,7 @@ should expose diag port: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -642,7 +642,7 @@ should generate Statefulset when storage is disabled and mode is a Upgrade: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -724,7 +724,7 @@ should have multiple replicas when replicaCount is set (using .replicaCount, dep fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -804,7 +804,7 @@ should have multiple replicas when replicaCount is set (using highAvailability.r fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -872,7 +872,7 @@ should have one replica when replicaCount is not set: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -940,7 +940,7 @@ should install Statefulset when storage is disabled and mode is a Fresh Install: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1010,7 +1010,7 @@ should mount extraVolumes and extraVolumeMounts: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1085,7 +1085,7 @@ should mount tls.existingCASecretName and set environment when set in values: value: RELEASE-NAME - name: SSL_CERT_FILE value: /etc/teleport-tls-ca/ca.pem - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1165,7 +1165,7 @@ should mount tls.existingCASecretName and set extra environment when set in valu value: /etc/teleport-tls-ca/ca.pem - name: HTTPS_PROXY value: http://username:password@my.proxy.host:3128 - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1241,7 +1241,7 @@ should not add emptyDir for data when using StatefulSet: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1309,7 +1309,7 @@ should provision initContainer correctly when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1413,7 +1413,7 @@ should set SecurityContext: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1501,7 +1501,7 @@ should set affinity when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1569,7 +1569,7 @@ should set default serviceAccountName when not set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1650,7 +1650,7 @@ should set environment when extraEnv set in values: value: RELEASE-NAME - name: HTTPS_PROXY value: http://username:password@my.proxy.host:3128 - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1786,7 +1786,7 @@ should set imagePullPolicy when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: Always livenessProbe: failureThreshold: 6 @@ -1854,7 +1854,7 @@ should set nodeSelector if set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1936,7 +1936,7 @@ should set preferred affinity when more than one replica is used: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2004,7 +2004,7 @@ should set probeTimeoutSeconds when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2082,7 +2082,7 @@ should set required affinity when highAvailability.requireAntiAffinity is set: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2150,7 +2150,7 @@ should set resources when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2225,7 +2225,7 @@ should set serviceAccountName when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2293,7 +2293,7 @@ should set storage.requests when set in values and action is an Upgrade: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2361,7 +2361,7 @@ should set storage.storageClassName when set in values and action is an Upgrade: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2429,7 +2429,7 @@ should set tolerations when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:13.4.1 + image: public.ecr.aws/gravitational/teleport-distroless:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/examples/chart/teleport-kube-agent/tests/__snapshot__/updater_deployment_test.yaml.snap b/examples/chart/teleport-kube-agent/tests/__snapshot__/updater_deployment_test.yaml.snap index c81f7d128520f..f7dce6f66f57e 100644 --- a/examples/chart/teleport-kube-agent/tests/__snapshot__/updater_deployment_test.yaml.snap +++ b/examples/chart/teleport-kube-agent/tests/__snapshot__/updater_deployment_test.yaml.snap @@ -27,7 +27,7 @@ sets the affinity: - --base-image=public.ecr.aws/gravitational/teleport-distroless - --version-server=https://my-custom-version-server/v1 - --version-channel=custom/preview - image: public.ecr.aws/gravitational/teleport-kube-agent-updater:13.4.1 + image: public.ecr.aws/gravitational/teleport-kube-agent-updater:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -71,7 +71,7 @@ sets the tolerations: - --base-image=public.ecr.aws/gravitational/teleport-distroless - --version-server=https://my-custom-version-server/v1 - --version-channel=custom/preview - image: public.ecr.aws/gravitational/teleport-kube-agent-updater:13.4.1 + image: public.ecr.aws/gravitational/teleport-kube-agent-updater:13.4.3 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/integrations/kube-agent-updater/version.go b/integrations/kube-agent-updater/version.go index 6547166271e49..b41a106cf0ce0 100644 --- a/integrations/kube-agent-updater/version.go +++ b/integrations/kube-agent-updater/version.go @@ -1,7 +1,7 @@ // Code generated by "make version". DO NOT EDIT. package kubeversionupdater -const Version = "13.4.1" +const Version = "13.4.3" // Gitref is set to the output of "git describe" during the build process. var Gitref string diff --git a/version.go b/version.go index d52aad37139ed..c329dc311194d 100644 --- a/version.go +++ b/version.go @@ -1,7 +1,7 @@ // Code generated by "make version". DO NOT EDIT. package teleport -const Version = "13.4.1" +const Version = "13.4.3" // Gitref is set to the output of "git describe" during the build process. var Gitref string From 1a7fcd585af8f96a84ac25163b7411c3630edb39 Mon Sep 17 00:00:00 2001 From: Trent Clarke Date: Wed, 11 Oct 2023 12:53:08 +0000 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a93327af20408..7fc335f924262 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ ## 13.4.3 (10/11/23) +### Security Fixes + +#### [Critical] Privilege escalation through `RecursiveChown` + +When using automatic Linux user creation, an attacker could exploit a race +condition in the user creation functionality to `chown` arbitrary files on the +system. + +Users who aren't using automatic Linux host user creation aren’t affected by +this vulnerability. + +[#33247](https://github.com/gravitational/teleport/pull/33247) + +### Other Fixes + * Fixed multiple discovery install attempts on Azure & GCP VMs [#32570](https://github.com/gravitational/teleport/pull/32570) * Fixed Access List caching & eventing issues [#32651](https://github.com/gravitational/teleport/pull/32651) * Teleport client now uses gRPC when creating tracing client [#32664](https://github.com/gravitational/teleport/pull/32664) @@ -22,7 +37,6 @@ * Fixed self-signed certificate issue on macOS [#33157](https://github.com/gravitational/teleport/pull/33157) * Discovery EC2 instance listing now shows instance name [#33178](https://github.com/gravitational/teleport/pull/33178) * Improved error messaging in `tsh kube credentials` when root cluster roles don't allow Kube access [#33211](https://github.com/gravitational/teleport/pull/33211) -* Fixed RecursiveChown privilege escalation due to following symlinks [#33247](https://github.com/gravitational/teleport/pull/33247) ## 13.4.1 (09/26/23) From 59999323e7284ee6975de5797c7be3b3a74460d4 Mon Sep 17 00:00:00 2001 From: Roman Tkachenko Date: Wed, 11 Oct 2023 08:40:57 -0700 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fc335f924262..c0f641411c914 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,7 @@ this vulnerability. * Fixed spurious timeouts in Database Access Sessions Fixed spurious timeouts in Database Access Sessions * Added connection information to multiplexer logs [#32739](https://github.com/gravitational/teleport/pull/32739) * Fixed panic on `tsh device enroll --current-device` [#32757](https://github.com/gravitational/teleport/pull/32757) -* Added Discover flow for enrolling EC2 Instances with EICE [#32766](https://github.com/gravitational/teleport/pull/32766) +* Added Discover flow for enrolling EC2 Instances with Instance Connect Endpoint [#32766](https://github.com/gravitational/teleport/pull/32766) * The Teleport `etcd` backend will now start if some nodes are unreachable [#32778](https://github.com/gravitational/teleport/pull/32778) * Adds Audit Review recurrence presets [#32961](https://github.com/gravitational/teleport/pull/32961) * Fixed issue causing keys to be incorrectly removed in tsh and Teleport Connect on Windows [#32964](https://github.com/gravitational/teleport/pull/32964)