CVE-2024-42472
위험도 심각 공격 코드 공개 ASEC 언급 2건
- 우선순위 이 사이트의 참고 점수
- 12.54
- 위험도 CVSS 3.1 · 0~10점
- 10.0
- 악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
- 1.3%
- 공개일 NVD
- 2024-08-15
설명 NVD 원문
Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.14.0 and 1.15.10, a malicious or compromised Flatpak app using persistent directories could access and write files outside of what it would otherwise have access to, which is an attack on integrity and confidentiality. When `persistent=subdir` is used in the application permissions (represented as `--persist=subdir` in the command-line interface), that means that an application which otherwise doesn't have access to the real user home directory will see an empty home directory with a writeable subdirectory `subdir`. Behind the scenes, this directory is actually a bind mount and the data is stored in the per-application directory as `~/.var/app/$APPID/subdir`. This allows existing apps that are not aware of the per-application directory to still work as intended without general home directory access. However, the application does have write access to the application directory `~/.var/app/$APPID` where this directory is stored. If the source directory for the `persistent`/`--persist` option is replaced by a symlink, then the next time the application is started, the bind mount will follow the symlink and mount whatever it points to into the sandbox. Partial protection against this vulnerability can be provided by patching Flatpak using the patches in commits ceec2ffc and 98f79773. However, this leaves a race condition that could be exploited by two instances of a malicious app running in parallel. Closing the race condition requires updating or patching the version of bubblewrap that is used by Flatpak to add the new `--bind-fd` option using the patch and then patching Flatpak to use it. If Flatpak has been configured at build-time with `-Dsystem_bubblewrap=bwrap` (1.15.x) or `--with-system-bubblewrap=bwrap` (1.14.x or older), or a similar option, then the version of bubblewrap that needs to be patched is a system copy that is distributed separately, typically `/usr/bin/bwrap`. This configuration is the one that is typically used in Linux distributions. If Flatpak has been configured at build-time with `-Dsystem_bubblewrap=` (1.15.x) or with `--without-system-bubblewrap` (1.14.x or older), then it is the bundled version of bubblewrap that is included with Flatpak that must be patched. This is typically installed as `/usr/libexec/flatpak-bwrap`. This configuration is the default when building from source code. For the 1.14.x stable branch, these changes are included in Flatpak 1.14.10. The bundled version of bubblewrap included in this release has been updated to 0.6.3. For the 1.15.x development branch, these changes are included in Flatpak 1.15.10. The bundled version of bubblewrap in this release is a Meson "wrap" subproject, which has been updated to 0.10.0. The 1.12.x and 1.10.x branches will not be updated for this vulnerability. Long-term support OS distributions should backport the individual changes into their versions of Flatpak and bubblewrap, or update to newer versions if their stability policy allows it. As a workaround, avoid using applications using the `persistent` (`--persist`) permission.
위험도 세부 항목 CVSS 3.1
- 공격 경로
- 네트워크(원격) AV:N
- 공격 난이도
- 낮음(쉬움) AC:L
- 필요한 권한
- 없음(로그인 불필요) PR:N
- 사용자 행동 필요
- 필요 없음 UI:N
- 영향 범위
- 다른 시스템까지 S:C
- 정보 유출(기밀성)
- 높음 C:H
- 데이터 변조(무결성)
- 높음 I:H
- 서비스 중단(가용성)
- 없음 A:N
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
조치 방법 33행
Red Hat 조치 33행
| 출처 | 플랫폼·제품 | 방식 | 패키지 | 수정된 버전 | 권고문RHSA 등 | 내용 |
|---|---|---|---|---|---|---|
| Red Hat | Red Hat (공통) | 완화 조치 | 원문 | Mitigation for this issue is either not available or the currently available options do not meet the…Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. |
||
| Red Hat | Red Hat Ansible Automation Platform 1.2 | 수정판 없음 | bubblewrap | 원문 | Red Hat 상태: 수정 계획 없음 | |
| Red Hat | Red Hat Enterprise Linux 10 | 수정판 없음 | bubblewrap | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 10 | 수정판 없음 | flatpak | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | 수정판 없음 | openshift/ose-rhel-coreos-8 | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | 수정판 없음 | openshift/ose-rhel-coreos-9 | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 패치(업데이트) | flatpak | 1.0.9-15.el7_9 | RHSA-2024:6417 | |
| Red Hat | Red Hat Enterprise Linux 8 | 패치(업데이트) | bubblewrap | 0.4.0-2.el8_10 | RHSA-2024:6422 | |
| Red Hat | Red Hat Enterprise Linux 8 | 패치(업데이트) | flatpak | 1.12.9-3.el8_10 | RHSA-2024:6422 | |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 패치(업데이트) | bubblewrap | 0.4.0-2.el8_2 | RHSA-2024:6420 | |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 패치(업데이트) | flatpak | 1.6.2-9.el8_2 | RHSA-2024:6420 | |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 패치(업데이트) | bubblewrap | 0.4.0-2.el8_4 | RHSA-2024:6418 | |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 패치(업데이트) | flatpak | 1.8.5-7.el8_4 | RHSA-2024:6418 | |
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 패치(업데이트) | bubblewrap | 0.4.0-2.el8_4 | RHSA-2024:6418 | |
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 패치(업데이트) | flatpak | 1.8.5-7.el8_4 | RHSA-2024:6418 | |
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 패치(업데이트) | bubblewrap | 0.4.0-2.el8_4 | RHSA-2024:6418 | |
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 패치(업데이트) | flatpak | 1.8.5-7.el8_4 | RHSA-2024:6418 | |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 패치(업데이트) | bubblewrap | 0.4.0-2.el8_6 | RHSA-2024:6421 | |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 패치(업데이트) | flatpak | 1.8.7-4.el8_6 | RHSA-2024:6421 | |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | 패치(업데이트) | bubblewrap | 0.4.0-2.el8_6 | RHSA-2024:6421 | |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | 패치(업데이트) | flatpak | 1.8.7-4.el8_6 | RHSA-2024:6421 | |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 패치(업데이트) | bubblewrap | 0.4.0-2.el8_6 | RHSA-2024:6421 | |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 패치(업데이트) | flatpak | 1.8.7-4.el8_6 | RHSA-2024:6421 | |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 패치(업데이트) | bubblewrap | 0.4.0-2.el8_8 | RHSA-2024:6419 | |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 패치(업데이트) | flatpak | 1.10.7-4.el8_8 | RHSA-2024:6419 | |
| Red Hat | Red Hat Enterprise Linux 9 | 패치(업데이트) | bubblewrap | 0.4.1-7.el9_4 | RHSA-2024:6356 | |
| Red Hat | Red Hat Enterprise Linux 9 | 패치(업데이트) | bubblewrap | 0.4.1-8.el9_5 | RHSA-2024:9449 | |
| Red Hat | Red Hat Enterprise Linux 9 | 패치(업데이트) | flatpak | 1.12.9-3.el9_4 | RHSA-2024:6356 | |
| Red Hat | Red Hat Enterprise Linux 9 | 패치(업데이트) | flatpak | 1.12.9-3.el9_5 | RHSA-2024:9449 | |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 패치(업데이트) | bubblewrap | 0.4.1-7.el9_0 | RHSA-2024:6357 | |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 패치(업데이트) | flatpak | 1.12.5-5.el9_0 | RHSA-2024:6357 | |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 패치(업데이트) | bubblewrap | 0.4.1-7.el9_2 | RHSA-2024:6355 | |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 패치(업데이트) | flatpak | 1.12.7-5.el9_2 | RHSA-2024:6355 |
살펴볼 장비 초안
분류 대상이 아닙니다 (지금은 KEV 만 분류합니다). 안전하다는 뜻이 아닙니다.
단계별 판정 예시 환경
시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.
출처별 내용 2건
ASEC Flatpak 보안 업데이트 권고(CVE-2024-42472) 2024-09-27
개요 Flatpak에서 발생하는 취약저을 해결하는 보안 업데이트를 발표하였습니다. 해당하는 시스템 사용자는 최신 버전으로 업데이트하시기 바랍니다. 대상 제품 CVE-2024-42472 Flatpak 버전: ~ 1.14.8(포함) Flatpak 버전: 1.15.x(포함) ~ 1.15.9(포함) 해결된 취약점 악의적인 앱이 persistent 디렉토리를 통해 홈 디렉토리 외부의 파일에 접근하고 쓸 수 있는 취약점(CVE-2024-42472) 취약점 패치 최신 업데이트를 통해 제품별 취약점 패치가 다음과 같이 제공되었습니다. 영향받는 버전을 이용하는 경우 참고 사이트의 안내에 따라 최신 취약점 패치 버전으로 업데이트 하시기 바랍니다. CVE-2024-42472 Flatpak 버전: 1.14.10 이상 버전 Flatpak 버전: 1.15.10 이상 버전 참고사이트 [1] CVE-2024-42472 Detail https://nvd.nist.gov/vuln/detail/CVE-2024-42472 [2] CVE-2024-42472: Access to files outside sandbox for apps using persistent= (–persist) https://github.com/flatpak/flatpak/security/advisories/GHSA-7hgv-f2j8-xw87
ASEC 영어·일본어 등 다른 언어 글 1건
ASEC Flatpak Security Update Advisory (CVE-2024-42472) 2024-09-27
Overview An update has been released to address vulnerabilities in Flatpak. Users of the affected versions are advised to update to the latest version. Affected Products CVE-2024-42472 Flatpak versions: ~ 1.14.8 (inclusive) Flatpak versions: 1.15.x (inclusive) ~ 1.15.9 (inclusive) Resolved Vulnerabilities Vulnerability that allows malicious apps to access and write files outside the home directory via persistent directories (CVE-2024-42472) Vulnerability Patches The following product-specific vulnerability patches have been made available with the latest update. If you are using an affected version, Please follow the instructions on the Referenced Sites to update to the latest Vulnerability Patches version. CVE-2024-42472 Flatpak version: 1.14.10 or later version Flatpak version: 1.15.10 or later version References [1] CVE-2024-42472 Detail https://nvd.nist.gov/vuln/detail/CVE-2024-42472 [2] CVE-2024-42472: Access to files outside sandbox for apps using persistent= (–persist) https://github.com/flatpak/flatpak/security/advisories/GHSA-7hgv-f2j8-xw87
자동 추천 장비와 근거 참고용
분류 체계(취약점 종류 CWE → 공격 유형 CAPEC → 공격 기법 ATT&CK) 매핑으로 계산한 후보입니다. 범위가 넓어 관련이 적은 장비가 섞입니다. 해당 장비가 이 공격을 탐지한다고 확인한 것은 아니며, 위의 '살펴볼 장비' 와 단계별 판정에는 쓰지 않습니다.
| 장비 | 방법 | 근거 경로 |
|---|---|---|
| 서버 접근제어 ACCESS | attack | CWE-74 > CAPEC-267 > T1027 > Command Execution |
| 엔드포인트 탐지·대응 EDR | attack | CWE-74 > CAPEC-13 > T1574.006 > File Creation |
| 침입방지시스템 IPS | attack | CWE-74 > CAPEC-267 > T1027 > Network Traffic Content |
| 네트워크 탐지·대응 / 패킷 분석 NDR | attack | CWE-74 > CAPEC-267 > T1027 > Network Traffic Content |
| 서버 감사 로그 SYSAUDIT | attack | CWE-74 > CAPEC-13 > T1574.006 > File Creation |
| 웹 방화벽 WAF | attack | CWE-74 > CAPEC-267 > T1027 > Network Traffic Content |
취약점 종류 CWE
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
영향받는 제품 CPE · 3건
| 제조사 | 제품 | 영향받는 버전 | 표준 표기CPE |
|---|---|---|---|
| flatpak | flatpak | 1.14.0 이상 1.14.10 미만 | cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* |
| flatpak | flatpak | 1.15.0 이상 1.15.10 미만 | cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* |
| debian | debian_linux | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
참고 링크 11건
- 패치 https://github.com/containers/bubblewrap/commit/68e75c3091c87583c28a439b45c45627a94d622c
- 패치 https://github.com/containers/bubblewrap/commit/a253257cd298892da43e15201d83f9a02c9b58b5
- 패치 https://github.com/flatpak/flatpak/commit/2cdd1e1e5ae90d7c3a4b60ce2e36e4d609e44e72
- 패치 https://github.com/flatpak/flatpak/commit/3caeb16c31a3ed62d744e2aaf01d684f7991051a
- 패치 https://github.com/flatpak/flatpak/commit/6bd603f6836e9b38b9b937d3b78f3fbf36e7ff75
- 패치 https://github.com/flatpak/flatpak/commit/7c63e53bb2af0aae9097fd2edfd6a9ba9d453e97
- 패치 https://github.com/flatpak/flatpak/commit/8a18137d7e80f0575e8defabf677d81e5cc3a788
- 패치 https://github.com/flatpak/flatpak/commit/db3a785241fda63bf53f0ec12bb519aa5210de19
- 공격 코드 · 완화 방법 · 제조사 권고 https://github.com/flatpak/flatpak/security/advisories/GHSA-7hgv-f2j8-xw87
- 공격 코드 · 메일링 리스트 · 제3자 권고 http://www.openwall.com/lists/oss-security/2024/08/14/6
- 메일링 리스트 · 제3자 권고 https://lists.debian.org/debian-lts-announce/2025/03/msg00025.html
용어 설명 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 로 기계 번역한 설명입니다.