CVE-2024-45310
위험도 낮음
- 우선순위 이 사이트의 참고 점수
- 3.61
- 위험도 CVSS 3.1 · 0~10점
- 3.6
- 악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
- 0.3%
- 공개일 NVD
- 2024-09-03
설명 NVD 원문
runc is a CLI tool for spawning and running containers according to the OCI specification. runc 1.1.13 and earlier, as well as 1.2.0-rc2 and earlier, can be tricked into creating empty files or directories in arbitrary locations in the host filesystem by sharing a volume between two containers and exploiting a race with `os.MkdirAll`. While this could be used to create empty files, existing files would not be truncated. An attacker must have the ability to start containers using some kind of custom volume configuration. Containers using user namespaces are still affected, but the scope of places an attacker can create inodes can be significantly reduced. Sufficiently strict LSM policies (SELinux/Apparmor) can also in principle block this attack -- we suspect the industry standard SELinux policy may restrict this attack's scope but the exact scope of protection hasn't been analysed. This is exploitable using runc directly as well as through Docker and Kubernetes. The issue is fixed in runc v1.1.14 and v1.2.0-rc3. Some workarounds are available. Using user namespaces restricts this attack fairly significantly such that the attacker can only create inodes in directories that the remapped root user/group has write access to. Unless the root user is remapped to an actual user on the host (such as with rootless containers that don't use `/etc/sub[ug]id`), this in practice means that an attacker would only be able to create inodes in world-writable directories. A strict enough SELinux or AppArmor policy could in principle also restrict the scope if a specific label is applied to the runc runtime, though neither the extent to which the standard existing policies block this attack nor what exact policies are needed to sufficiently restrict this attack have been thoroughly tested.
위험도 세부 항목 CVSS 3.1
- 공격 경로
- 로컬(장비 안) AV:L
- 공격 난이도
- 낮음(쉬움) AC:L
- 필요한 권한
- 없음(로그인 불필요) PR:N
- 사용자 행동 필요
- 필요(클릭 등) UI:R
- 영향 범위
- 다른 시스템까지 S:C
- 정보 유출(기밀성)
- 없음 C:N
- 데이터 변조(무결성)
- 낮음 I:L
- 서비스 중단(가용성)
- 없음 A:N
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
조치 방법 4행
Microsoft 조치 (KB 업데이트) 4행
| 출처 | 플랫폼·제품 | 방식 | 패키지 | 수정된 버전 | 권고문RHSA 등 | 내용 |
|---|---|---|---|---|---|---|
| Microsoft | azl3 runc 1.1.12-2 on Azure Linux 3.0 | 패치(업데이트) | CBL-Mariner Releases | 1.2.2-1 | CBL-Mariner Releases | 보안 업데이트 |
| Microsoft | azl3 runc 1.2.2-1 on Azure Linux 3.0 | 패치(업데이트) | CBL-Mariner Releases | 1.2.2-1 | CBL-Mariner Releases | 보안 업데이트 |
| Microsoft | cbl2 moby-runc 1.1.9-8 on CBL Mariner 2.0 | 패치(업데이트) | CBL-Mariner Releases | 1.1.9-8 | CBL-Mariner Releases | 보안 업데이트 |
| Microsoft | cbl2 moby-runc 1.1.9-8 on CBL-Mariner 2.0 | 패치(업데이트) | CBL-Mariner Releases | 1.1.9-8 | CBL-Mariner Releases | 보안 업데이트 |
살펴볼 장비 초안
분류 대상이 아닙니다 (지금은 KEV 만 분류합니다). 안전하다는 뜻이 아닙니다.
단계별 판정 예시 환경
시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.
출처별 내용 0건
KEV·KISA·ASEC 에서 연결된 내용이 없습니다.
자동 추천 장비와 근거 참고용
추천할 매핑이 없습니다.
취약점 종류 CWE
영향받는 제품 CPE · 3건
| 제조사 | 제품 | 영향받는 버전 | 표준 표기CPE |
|---|---|---|---|
| linuxfoundation | runc | 1.1.14 미만 | cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:* |
| linuxfoundation | runc | cpe:2.3:a:linuxfoundation:runc:1.2.0:rc1:*:*:*:*:*:* | |
| linuxfoundation | runc | cpe:2.3:a:linuxfoundation:runc:1.2.0:rc2:*:*:*:*:*:* |
참고 링크 7건
- 패치 https://github.com/opencontainers/runc/commit/63c2908164f3a1daea455bf5bcd8d363d70328c7
- 패치 https://github.com/opencontainers/runc/commit/8781993968fd964ac723ff5f360b6f259e809a3e
- 패치 https://github.com/opencontainers/runc/commit/f0b652ea61ff6750a8fcc69865d45a7abf37accf
- 패치 https://github.com/opencontainers/runc/pull/4359
- 패치 · 제조사 권고 https://github.com/opencontainers/runc/security/advisories/GHSA-jfvp-7x6p-h2pv
- 메일링 리스트 · 완화 방법 · 제3자 권고 http://www.openwall.com/lists/oss-security/2024/09/03/1
- 제조사 권고 https://security.netapp.com/advisory/ntap-20250221-0008/
용어 설명 CVE · CVSS · EPSS · KEV · NVD …
- CVE 취약점 번호
- 공개된 보안 취약점마다 붙는 국제 고유 번호입니다. 예: CVE-2021-44228(Log4j). 가운데 숫자는 번호를 받은 해입니다.
- CVSS 위험도 점수
- 취약점이 얼마나 위험한지 0~10점으로 매긴 국제 표준 점수입니다. 심각 9.0 이상 · 높음 7.0~8.9 · 중간 4.0~6.9 · 낮음 0.1~3.9. 공격이 얼마나 쉬운지와 피해 크기로 정하며, 실제로 공격받고 있는지는 반영하지 않습니다.
- EPSS 악용 가능성
- 앞으로 30일 안에 실제 공격에 쓰일 확률을 추정한 값(0~100%)입니다. 국제 보안 단체 FIRST 가 매일 계산합니다. 높을수록 먼저 조치하세요.
- KEV 실제 악용 확인
- 미국 사이버보안청(CISA)이 실제 공격에 쓰인 것을 확인한 취약점만 모은 목록입니다. 여기에 있으면 가장 먼저 조치할 대상입니다. '랜섬웨어' 표시는 랜섬웨어 공격에 쓰인 것으로 알려진 것입니다.
- 공격 코드 공개된 PoC
- NVD 참고 링크 중 '공격 코드(Exploit)' 표시가 붙은 것이 있다는 뜻입니다. 누구나 공격을 시도해 볼 수 있으므로 서두르는 게 좋지만, 실제 악용이 확인된 것(KEV)과는 다릅니다.
- NVD 미국 취약점 DB
- 미국 국립표준기술연구소(NIST)가 운영하는 취약점 데이터베이스입니다. CVE 마다 설명·CVSS 점수·영향받는 제품·취약점 종류를 붙입니다. 이 사이트 설명의 원문 출처입니다.
- 우선순위 이 사이트의 참고 점수
- CVSS·KEV·랜섬웨어·EPSS·ASEC 언급·공격 코드 공개를 합쳐 계산한 점수입니다. 높을수록 먼저 살펴보세요. 공식 점수가 아닙니다.
- ASEC 안랩 분석 글
- 안랩 보안대응센터 블로그입니다. 'ASEC 3' 은 분석 글에 그 CVE 번호가 3번 나왔다는 뜻이며, 국내에서 악용이 확인됐다는 뜻은 아닙니다.
- CWE 취약점 종류
- 취약점 종류의 분류 번호입니다. 예: CWE-89 SQL 인젝션, CWE-79 크로스 사이트 스크립팅.
- CPE 영향받는 제품
- 취약점이 있는 제품과 버전을 적는 표준 표기입니다. 예: apache:tomcat 9.0.0~9.0.80.
- KB Microsoft 업데이트 번호
- Microsoft 가 업데이트마다 붙이는 번호입니다. 예: KB5068791. '수정된 버전' 은 업데이트 후의 빌드 번호로, 이보다 낮으면 업데이트가 필요합니다.
- 시나리오 · 번역
- '시나리오' 는 단계별 판정 초안이 있다는 표시입니다(없다고 안전한 것은 아닙니다). '(번역)' 은 Claude 로 기계 번역한 설명입니다.