🔍 CVE-2026-82430

7.8
CVSS Score
HIGH
2026-09-14
2026-09-14 20:58
✅ 완료

🇰🇷 한글 설명

Docker 또는 OCI 워커 실행 시, worker-launcher가 디렉토리 소유권을 변경한 후 명령 파일을 읽는 과정에서 발생하는 TOCTOU(Time-of-Check to Time-of-Use) 취약점입니다. 공격자는 소유권 변경과 파일 읽기 사이의 짧은 시간 차를 이용해 명령 파일을 조작함으로써 호스트 파일 시스템에 접근하거나 루트 권한과 유사한 권한으로 컨테이너를 실행할 수 있습니다.

💡 쉬운 설명

프로그램이 파일의 주인(소유권)을 바꾸는 순간과 실제 파일을 읽는 순간 사이에 아주 짧은 틈이 생깁니다. 공격자가 이 틈을 타서 명령 내용을 바꿔치기하면, 시스템이 공격자가 원하는 위험한 명령을 관리자 권한으로 실행하게 됩니다.

🇺🇸 원문 (English)

Description When launching a Docker or OCI worker, the setuid-root `worker-launcher` first changes ownership of the entire worker directory to the untrusted topology user, and only afterwards reads and acts on the command file that the supervisor wrote into that same directory. The file is opened without `O_NOFOLLOW` and without re-verifying its owner, so between the ownership change and the read the tenant can replace its contents. For the Docker path the parsed command is executed with real uid 0, and the command sanitiser is not a privilege boundary: it admits `-v` with an arbitrary source, `--device`, `--cap-add`, `--security-opt`, `--user` and `--net`, and copies positional arguments through verbatim. A rewritten file therefore yields an attacker-authored, root-equivalent container invocation with the host filesystem available. For the OCI path the same rewrite window applies, and mount validation is structural only, with no source or destination allow-list, so arbitrary host paths can be bind-mounted read-write into the container. The `username` field of the command file is likewise attacker-settable and is checked only against non-root and minimum-uid rules, permitting execution as another tenant's uid. Mitigation Upgrade to 3.1.0, where the command file is validated before the ownership change and re-verified on open, and where mount sources and destinations are constrained by configuration. Users who cannot upgrade immediately should disable Docker and OCI worker isolation, or restrict topology submission on affected supervisors to trusted principals. Note that the launcher must be rebuilt and reinstalled after upgrading. Credit The ASF -- found using Claude agents to study the security of open-source projects, validated and reported by Apache Storm.

📍 영향받는 시스템

Docker 또는 OCI 워커를 사용하는 시스템 (3.1.0 미만 버전)

⚔️ 공격 벡터

소유권 변경과 파일 읽기 사이의 레이스 컨디션을 이용한 명령 파일 내용 조작

🛡️ 대응 방법

버전 3.1.0 이상으로 업그레이드하거나, 즉시 불가능할 경우 Docker/OCI 워커 격리를 비활성화하고 신뢰할 수 있는 사용자만 토폴로지를 제출하도록 제한하십시오.

🔧 검증 코드

출력된 패키지 버전이 3.1.0 미만인지 확인하십시오.

Shell / Script
rpm -q <package_name> 2>/dev/null | grep -E 'version' || dpkg -l <package_name> 2>/dev/null | grep -E 'version'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Magento Open Source