RATATOSK
← 전체 릴리스

CRI-Ov1.35.12

보안 1호환성 변경 2중요 수정 2기타 3

CRI-O 알림 받기

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

보안1high1

CRI-O 연결 로그 볼륨 쓰기 취약점 수정

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

컨테이너가 CRI-O 또는 conmon이 로그 디렉터리 밖의 호스트 파일에 쓰도록 유도할 수 있었습니다. 이로 인해 호스트 측 무결성이 훼손될 수 있고, 대상으로 삼은 파일이 나중에 실행되면 root 명령 실행으로 이어질 가능성도 있었습니다. 수정 후에는 컨테이너에서 연결된 로그 볼륨을 읽기 전용으로 보며, kubelet의 subPath 바인드 별칭을 통해서도 마찬가지입니다. CRI-O는 호스트 측에서 계속 쓸 수 있습니다. 로그 수집기는 오프셋과 버퍼를 다른 곳에 보관해야 합니다.

원문 보기
보안 공지
When a container uses the opt-in `link-logs.crio.io` annotation, CRI-O exposes the pod's log directory through a pod-owned emptyDir and intends that view to be read-only. That isolation was not effective, so a container could alter host-side log state that CRI-O and conmon depend on. This gave the container a way to influence writes made by a privileged component against host files outside its own log directory, crossing the container-to-host integrity boundary; where such a file is later executed by the host, it can amount to command execution as root.
The flaw exists since the feature's introduction in 1.28.0 and is reachable only when the annotation is enabled for the runtime handler; deployments that do not enable it are unaffected. Exploitation depends on pre-existing host state and remains subject to mandatory access control (MAC) policy, which places the attack complexity at high.
The linked log volume is now mounted read-only in containers even when the container requests write access, including when the volume is reached through kubelet subPath bind aliases. The host-side view stays writable to CRI-O itself so that log linking and SELinux labeling keep working. Users should upgrade to one of:
This is a behaviour change: log collectors must keep writable state such as offsets and buffers in a separate volume.
- Do not enable `link-logs.crio.io` for any runtime handler. Deployments that leave it out of `allowed_annotations` are not reachable through a pod.
- Run the containers of affected pods as an unprivileged UID that cannot become uid 0 (`runAsNonRoot`, no `setuid` escalation, no user-namespace mapping to host root). Kubelet creates the pod and container log directories under `/var/log/pods` as root-owned and not writable by group or other (0755), so such a container cannot create entries in the linked tree. This is conditional hardening: pods whose containers run as root, whether requested or inherited from the image, remain exposed.
github.com/cri-o/cri-o/security/advisories/GHSA-pw8r-75cr-c993

호환성 변경2

CRI-O 빌드에 필요한 최소 Go 버전 1.26.10

영향 대상Go 또는 정적 빌드 컴파일러로 CRI-O를 빌드하는 환경(추정)

이전에는 Go 모듈이 Go 1.25.0을 선언했고 Nix derivation은 Go 1.25를 사용했습니다. 이제 둘 다 Go 1.26.10을 사용합니다.

근거“Update Go to 1.26.10 in `dependencies.yaml` and its existing references in `go.mod` and `nix/derivation.nix` so these builds use the patched toolchain.” cri-o/cri-o/pull/10493 ↗
원문 보기
 - CRI-O's minimum Go version and static-build compiler are now Go 1.26.10. (#10493, @bitoku)
github.com/cri-o/cri-o/releases/tag/v1.35.12

CRI-O 종료 데드락 수정

영향 대상CNI 플러그인 준비 상태 확인을 사용하는 CRI-O 구성(추정)

노드를 종료할 때 CNI 준비 상태를 기다리는 진행 중인 RPC가 CRI-O에서 데드락을 일으켜 SIGTERM을 무시하게 만들 수 있었습니다. 이제 종료 시 CNI 매니저를 먼저 중지한 뒤 gRPC를 정상적으로 종료합니다. 30초가 지나도 정상 종료가 완료되지 않으면 gRPC를 강제 종료하며, CNI 준비 상태 대기가 컨텍스트 취소로 중단되면 오류를 반환합니다.

원문 보기
 - Fixed a deadlock where CRI-O ignored SIGTERM when in-flight RPCs were blocked waiting for CNI readiness during node shutdown. The CNI manager is now shut down before the gRPC server stops, and a forced stop is scheduled as a fallback after 30 seconds. (#10545, @nispriha)
github.com/cri-o/cri-o/releases/tag/v1.35.12

중요 수정2

  • 활성 exec 프로세스가 있는 컨테이너 중지 시 충돌 수정
    영향 대상활성 exec 프로세스가 있는 컨테이너

    CRI-O는 컨테이너를 중지할 때 exec 프로세스 PID 맵을 사용하기 전에 해당 맵을 복제합니다.

     - Fixed a possible CRI-O crash when stopping containers with active exec processes. (#10529, @openshift-cherrypick-robot)
    github.com/cri-o/cri-o/releases/tag/v1.35.12
  • CRI-O, systemd/init 컨테이너의 기본 SELinux 레이블링 복원
    영향 대상systemd/init 컨테이너를 실행하는 SELinux 활성화 환경

    스토리지 기본 레이블인 container_t를 사용하면 SELinux가 활성화된 노드의 systemd 파드에서 권한 거부로 cgroup 생성에 실패할 수 있었습니다. 컨테이너나 샌드박스에 seLinuxOptions.type을 명시적으로 설정한 경우에는 해당 설정이 계속 우선 적용됩니다.

     - Fix SELinux labeling so systemd/init containers receive container_init_t again instead of remaining container_t and failing to create cgroups. (#10509, @aksjadha)
    github.com/cri-o/cri-o/releases/tag/v1.35.12
기타3

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