# CRI-O v1.34.12

2026-08-24 · [릴리스 노트 원문](https://github.com/cri-o/cri-o/releases/tag/v1.34.12) · [전체 정리](https://ratatosk.io/ko/releases/cri-o/v1.34.12)

보안 3 (critical 1 · high 1) · 중요 수정 1

## 보안 (3)

### [critical] CRI-O 샌드박스 상태 오염 수정

- 영향 대상: 릴리스 노트에 언급 없음
- 추가 조치: CRI-O 업그레이드 중 노드에서 실행 중인 모든 컨테이너의 초기화
- [CVE-2026-62146](https://www.cve.org/CVERecord?id=CVE-2026-62146), [GHSA-6wmc-5877-hgc9](https://github.com/cri-o/cri-o/security/advisories/GHSA-6wmc-5877-hgc9)

임의 어노테이션을 지정해 Pod를 생성할 수 있는 공격자는 저장된 샌드박스 상태를 오염시킬 수 있었습니다. CRI-O를 재시작하거나 노드를 재부팅한 뒤, 영향을 받은 샌드박스에서 다시 생성된 컨테이너가 공격자가 제어하는 호스트 경로를 마운트할 수 있었습니다. 이로 인해 CRI-O 소켓이 노출되고 컨테이너 탈출로 이어질 가능성이 있었습니다.

보안 공지:

> A user who can create a Pod with arbitrary annotations can poison persisted CRI-O sandbox state. After a CRI-O restart or node reboot, containers recreated in the affected sandbox may mount attacker-controlled host paths, potentially exposing the CRI-O socket and enabling container escape.
> The users must wipe all running containers on the nodes when upgrading CRI-O
> Admission webhook rejecting Pod annotations and labels with the io.kubernetes.cri-o. prefix. For example, a validating webhook that denies any Pod whose metadata.annotations or metadata.labels contain keys starting with io.kubernetes.cri-o.

https://github.com/cri-o/cri-o/security/advisories/GHSA-6wmc-5877-hgc9

보안 공지:

> CRI-O sandbox state poisoning after restart can expose crio.sock

https://github.com/cri-o/cri-o/security/advisories/GHSA-6wmc-5877-hgc9

### [high] CRI-O `HOME` 개행 주입 우회 수정

- 영향 대상: 컨테이너의 `HOME` 환경 변수
- [CVE-2022-4318](https://www.cve.org/CVERecord?id=CVE-2022-4318), [CVE-2026-15809](https://www.cve.org/CVERecord?id=CVE-2026-15809), [GHSA-9gq4-2485-q63q](https://github.com/advisories/GHSA-9gq4-2485-q63q)

컨테이너 환경을 설정할 수 있는 공격자가 `HOME` 값에 실제 개행 문자를 넣으면, 검사는 실제 개행이 아닌 문자 그대로의 `\n`만 찾아 `/etc/passwd`에 임의의 행을 추가할 수 있었습니다. 이제 CRI-O는 실제 개행 또는 캐리지 리턴 바이트가 포함된 `HOME` 값을 오류와 함께 거부합니다. 이 검사는 해당 바이트가 없는 값은 거부하지 않습니다.

> #### Uncategorized
>  - Fixed CVE-2026-15809: bypass of CVE-2022-4318 fix allowing /etc/passwd injection via newline characters in the HOME environment variable. The original check incorrectly matched the literal string "\n" instead of actual newline bytes. (#10217, @aksjadha)

### [medium] 잘못된 OCI 이미지 항목으로 인한 CRI-O 데몬 충돌 수정

- 영향 대상: 릴리스 노트에 언급 없음
- [CVE-2026-17113](https://www.cve.org/CVERecord?id=CVE-2026-17113), [GHSA-v5pw-cc82-qrf6](https://github.com/cri-o/cri-o/security/advisories/GHSA-v5pw-cc82-qrf6)

환경 항목에 `=`가 빠진 특수 제작 OCI 이미지로 인해, 컨테이너 spec에 환경 변수가 없을 때 데몬이 충돌할 수 있었습니다. 이번 릴리스에서는 이 충돌을 방지합니다.

보안 공지:

> A crafted OCI image with a malformed environment variable entry can crash the CRI-O daemon.
> This only occurs when no environment variables are set in the container spec. In standard Kubernetes deployments, the kubelet always injects default environment variables, so this issue is not triggered through the normal Kubernetes API path. Environments where containers are created without default environment variables, such as direct CRI API callers, may be affected.
> - Use a standard Kubernetes setup where the kubelet manages container lifecycle. The kubelet always injects default environment variables, which prevents this issue from being triggered.
> - Restrict container images to trusted registries using admission controllers (e.g. Kyverno, OPA/Gatekeeper).
> - Validate OCI image configurations before publishing, rejecting any image whose config.Env contains entries without a = delimiter.

https://github.com/cri-o/cri-o/security/advisories/GHSA-v5pw-cc82-qrf6

보안 공지:

> Denial of Service (DoS) — CRI-O daemon crash via crafted OCI image.

https://github.com/cri-o/cri-o/security/advisories/GHSA-v5pw-cc82-qrf6

## 중요 수정 (1)

### CRI-O 시작 시 사용자 네임스페이스 매핑 복원

- 영향 대상: ID 매핑 마운트와 사용자 네임스페이스를 사용하는 컨테이너

이 수정 전에는 CRI-O를 재시작하거나 실제 컨테이너 프로세스를 `kill 1`로 종료하면 네임스페이스 매핑이 로드되지 않아 컨테이너에서 권한 거부 오류가 발생할 수 있었습니다. 매핑을 복원해 이러한 오류를 방지합니다.

>  - User namespace UID/GID mappings are now correctly restored after CRI-O restart, fixing "permission denied" errors for containers using user namespaces with ID-mapped mounts. (#10231, @Chandan9112)

---

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