Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# Changelog

## 12.4.24 (11/8/23)

### Security Fixes

#### [Medium] Arbitrary code execution with `LD_PRELOAD` and `SFTP`

Teleport implements SFTP using a subcommand. Prior to this release it was
possible to inject environment variables into the execution of this
subcommand, via shell init scripts or via the SSH environment request.

This is addressed by preventing `LD_PRELOAD` and other dangerous environment
variables from being forwarded during re-exec.

[#34276](https://github.com/gravitational/teleport/pull/34276)

#### [Medium] Outbound SSH from Proxy can lead to IP spoofing

If the Teleport auth or proxy services are configured to accept `PROXY`
protocol headers, a malicious actor can use this to spoof their IP address.

This is addressed by requiring that the first bytes of any SSH connection are
the SSH protocol prefix, denying a malicious actor the opportunity to send their
own proxy headers.

[#33731](https://github.com/gravitational/teleport/pull/33731)

### Other Fixes & Improvements

* Added post-review state of Access Request in audit log description [#34215](https://github.com/gravitational/teleport/pull/34215)
* Updated Operator Reconciliation to skip Teleport Operator on status updates [#34197](https://github.com/gravitational/teleport/pull/34197)
* Updated Server Auto-Discovery installer script to use `bash` instead of `sh` [#34150](https://github.com/gravitational/teleport/pull/34150)
* Fixed Azure Identity federated Application ID [#33958](https://github.com/gravitational/teleport/pull/33958)
* Fixed issue where Kubernetes Audit Events reported incorrect information in the exec audit [#33950](https://github.com/gravitational/teleport/pull/33950)
* Fixed issue where `tsh aws ecs execute-command` would always fail [#33831](https://github.com/gravitational/teleport/pull/33831)
* Fixed formatting errors on empty result sets in `tsh` [#33725](https://github.com/gravitational/teleport/pull/33725)

## 12.4.23 (10/18/23)

### Security fixes
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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=12.4.23
VERSION=12.4.24

DOCKER_IMAGE ?= teleport

Expand Down
2 changes: 1 addition & 1 deletion api/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build.assets/macos/tsh/tsh.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>12.4.23</string>
<string>12.4.24</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>12.4.23</string>
<string>12.4.24</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
4 changes: 2 additions & 2 deletions build.assets/macos/tshdev/tsh.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>12.4.23</string>
<string>12.4.24</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>12.4.23</string>
<string>12.4.24</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
2 changes: 1 addition & 1 deletion examples/chart/teleport-cluster/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.version: &version "12.4.23"
.version: &version "12.4.24"

name: teleport-cluster
apiVersion: v2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.version: &version "12.4.23"
.version: &version "12.4.24"

name: teleport-operator
apiVersion: v2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
should add an operator side-car when operator is enabled:
1: |
image: public.ecr.aws/gravitational/teleport-operator:12.4.23
image: public.ecr.aws/gravitational/teleport-operator:12.4.24
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down Expand Up @@ -30,7 +30,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:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down Expand Up @@ -138,7 +138,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:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down Expand Up @@ -216,7 +216,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:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down Expand Up @@ -283,7 +283,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:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ should provision initContainer correctly when set in values:
- wait
- no-resolve
- RELEASE-NAME-auth-v11.NAMESPACE.svc.cluster.local
image: public.ecr.aws/gravitational/teleport:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
name: wait-auth-update
- args:
- echo test
Expand Down Expand Up @@ -61,7 +61,7 @@ should set nodeSelector when set in values:
containers:
- args:
- --diag-addr=0.0.0.0:3000
image: public.ecr.aws/gravitational/teleport:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down Expand Up @@ -119,7 +119,7 @@ should set nodeSelector when set in values:
- wait
- no-resolve
- RELEASE-NAME-auth-v11.NAMESPACE.svc.cluster.local
image: public.ecr.aws/gravitational/teleport:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
name: wait-auth-update
nodeSelector:
environment: security
Expand Down Expand Up @@ -154,7 +154,7 @@ should set resources when set in values:
containers:
- args:
- --diag-addr=0.0.0.0:3000
image: public.ecr.aws/gravitational/teleport:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down Expand Up @@ -219,7 +219,7 @@ should set resources when set in values:
- wait
- no-resolve
- RELEASE-NAME-auth-v11.NAMESPACE.svc.cluster.local
image: public.ecr.aws/gravitational/teleport:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
name: wait-auth-update
serviceAccountName: RELEASE-NAME-proxy
terminationGracePeriodSeconds: 60
Expand All @@ -236,7 +236,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:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down Expand Up @@ -301,7 +301,7 @@ should set securityContext for initContainers when set in values:
- wait
- no-resolve
- RELEASE-NAME-auth-v11.NAMESPACE.svc.cluster.local
image: public.ecr.aws/gravitational/teleport:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
name: wait-auth-update
securityContext:
allowPrivilegeEscalation: false
Expand All @@ -325,7 +325,7 @@ should set securityContext when set in values:
containers:
- args:
- --diag-addr=0.0.0.0:3000
image: public.ecr.aws/gravitational/teleport:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down Expand Up @@ -390,7 +390,7 @@ should set securityContext when set in values:
- wait
- no-resolve
- RELEASE-NAME-auth-v11.NAMESPACE.svc.cluster.local
image: public.ecr.aws/gravitational/teleport:12.4.23
image: public.ecr.aws/gravitational/teleport:12.4.24
name: wait-auth-update
securityContext:
allowPrivilegeEscalation: false
Expand Down
2 changes: 1 addition & 1 deletion examples/chart/teleport-kube-agent/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.version: &version "12.4.23"
.version: &version "12.4.24"

name: teleport-kube-agent
apiVersion: v2
Expand Down
Loading