RATATOSK
← 전체 릴리스

Kubernetesv1.34.12

보안 3중요 수정 3

Kubernetes 알림 받기

확인할 변경이 있을 때만 주 1회, critical 보안 공지는 즉시 발송

보안3medium3

Windows kubectl cp 임의 경로 파일 쓰기 수정

medium
영향 대상릴리스 노트에 언급 없음

공격자가 소스 컨테이너를 제어하면 악의적인 아카이브 경로가 지정된 대상에서 벗어나 로컬 사용자의 시스템 권한으로 허용되는 모든 위치에 파일을 쓸 수 있었습니다. 업그레이드 후에는 해당 경로가 대상에서 벗어날 수 없습니다.

원문 보기
보안 공지
A path traversal vulnerability exists in the `kubectl cp` command when it is run on Windows. `kubectl cp` copies files between containers and the user machine. To copy files *from* a container, Kubernetes runs `tar` inside the container to create a tar archive, copies it over the network, and `kubectl` unpacks it on the user's machine. If the `tar` binary in the container is malicious, it could run any code and output unexpected, malicious results.
An attacker who controls the contents of a container could use this to write files to arbitrary paths on the user's machine when `kubectl cp` is called, limited only by the system permissions of the local user. This issue only affects clients on Windows platforms.
You are affected if you run the `kubectl` client on Windows and use `kubectl cp` to copy files *from* a container whose contents you do not fully control.
Prior to upgrading, this vulnerability can be mitigated by only copying files from containers you trust, or by avoiding `kubectl cp` from untrusted containers on Windows.
github.com/kubernetes/kubernetes/issues/141294
보안 공지
kubectl cp path traversal on Windows allows arbitrary file writes
github.com/kubernetes/kubernetes/issues/141294

StatefulSet 교차 네임스페이스 Pod 생성 취약점 수정

medium
영향 대상릴리스 노트에 언급 없음

네임스페이스 범위에서 StatefulSet 및 ControllerRevision 오브젝트에 대한 쓰기 권한이 있는 공격자는 다른 네임스페이스에 Pod를 만들고 메타데이터와 spec을 제어할 수 있었습니다. Pod는 피해자 네임스페이스에 있는 기존 StatefulSet을 가리키는 유효한 OwnerReference가 없으면 삭제되었습니다. 수정된 버전은 ControllerRevision에서 spec 필드만 복원합니다.

원문 보기
보안 공지
A confused deputy attack exists in the StatefulSet controller that allows a user with namespace-scoped write permissions on StatefulSet and ControllerRevision objects to create a cross-namespace pod. An attacker exploiting this vulnerability would have full control over the resulting pod’s metadata and specification, including namespace selection. Note that the cross-namespace pod will be immediately deleted by the garbage collector unless the attacker is able to construct a valid StatefulSet OwnerReference. This would require referencing the UID of an existing StatefulSet in the victim’s namespace.
This issue can be mitigated by upgrading to a fixed kube-controller-manager version. The fixed versions are patched to ensure that only the spec field in StatefulSets will be restored from ControllerRevisions.
github.com/kubernetes/kubernetes/issues/142097
보안 공지
StatefulSet and ControllerRevision write permissions allow cross-namespace pod creation
github.com/kubernetes/kubernetes/issues/142097

Windows kubelet의 UNC 심볼릭 링크 취약점 수정

medium
영향 대상릴리스 노트에 언급 없음

Pod의 volumeMount subPath가 공격자가 제어하는 UNC 경로의 네트워크 공유를 가리키는 심볼릭 링크인 경우, kubelet이 NTLM 인증을 시도해 kubelet을 실행하는 계정의 NetNTLMv2 해시가 노출됐습니다. 수정된 버전은 Windows에서 UNC 경로를 대상으로 하는 심볼릭 링크를 거부합니다.

원문 보기
보안 공지
CVSS Rating: [CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N](https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N) - Medium (5.8)
An NTLM coercion vulnerability exists on Windows nodes when the subPath supplied in a pod's volumeMounts is set to a symbolic link that points to an attacker-controlled network share. When a kubelet resolves symlinks, it does not reject a target that resolves to a UNC path. As a result, the kubelet will transparently attempt to authenticate to the share using NTLM.
This allows an attacker to obtain the NetNTLMv2 hash of the account under which the kubelet is running. An attacker could then attempt to crack the hash to retrieve the corresponding password or relay it to impersonate the node, if the node is domain-joined.
This issue can be mitigated by upgrading to a fixed kubelet version. The fixed versions update kubelet to refuse UNC symlink targets on Windows.
github.com/kubernetes/kubernetes/issues/142098
보안 공지
Subpath symlinking on Windows nodes permits NTLM coercion
github.com/kubernetes/kubernetes/issues/142098

중요 수정3

  • DRA 할당기 요청 수 오버플로 수정
    영향 대상장치 요청 수가 int 범위 또는 클레임별 한도를 초과하거나 크기가 너무 큰 firstAvailable 대안이 있는 DRA ResourceClaim(추정)

    장치 요청 수를 합산할 때 정수 오버플로로 음수가 되어 할당 결과 크기 검사를 우회하고 스케줄러에서 패닉이 발생할 수 있었습니다. 오버플로로 firstAvailable 폴백이 작동하지 않을 수도 있었습니다. 이제 할당기는 한도를 초과하는 요청을 거부하고, 오류에 해당 요청의 이름을 표시합니다. 크기가 너무 큰 firstAvailable 대안은 더 작은 대안으로 넘어가도록 처리합니다.

    - Kube-scheduler: a ResourceClaim whose device request counts add up past the int range no longer crashes the scheduler or skips the `firstAvailable` fallback in the DRA allocator. A request over the per-claim device limit is rejected with an error naming it, and an oversized `firstAvailable` alternative falls through to a smaller one. ([#141925](https://github.com/kubernetes/kubernetes/pull/141925), [@thc1006](https://github.com/thc1006)) [SIG Node]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.34.md
  • kubeadm init의 노드별 resolvConf 경로 클러스터 전체 저장 중단
    영향 대상systemd-resolved가 노드별 resolvConf 경로를 제공하는 kubeadm init 구성

    이전에는 kubeadm init이 해당 노드별 경로를 클러스터 전체 kubelet-config ConfigMap에 저장했습니다. 이제는 저장하지 않습니다.

    - Kubeadm: no longer persists a node-specific systemd-resolved resolvConf path in the cluster-wide kubelet-config ConfigMap during init. ([#141630](https://github.com/kubernetes/kubernetes/pull/141630), [@HirazawaUi](https://github.com/HirazawaUi)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.34.md
  • Kubelet/DRA 재시도 시 CDI 디바이스 ID 중복 방지
    영향 대상PrepareResources를 사용하는 Kubelet/DRA 설정

    한 드라이버의 준비 작업은 일부 성공했지만 다른 드라이버가 setPrepared 전에 실패하면, 재시도 중 디바이스 항목이 중복되어 컨테이너 시작이 실패할 수 있었습니다. 재시도할 때는 새 응답을 적용하기 전에 해당 클레임과 드라이버 쌍에 이전에 추가된 디바이스를 제거합니다.

    - Kubelet/DRA: fixed a bug where retrying a partially-failed PrepareResources caused duplicate CDI device IDs to be passed to the CRI runtime, which could cause container start to fail. ([#140953](https://github.com/kubernetes/kubernetes/pull/140953), [@bart0sh](https://github.com/bart0sh)) [SIG Node]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.34.md

정리 내용은 AI가 작성하므로 틀릴 수 있으며, 보증 없이 제공합니다.