CVE-2024-0985
위험도 높음 ASEC 언급 2건
- 우선순위 이 사이트의 참고 점수
- 9.55
- 위험도 CVSS 3.1 · 0~10점
- 8.0
- 악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
- 1.8%
- 공개일 NVD
- 2024-02-08
설명 NVD 원문
Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command issuer. The command intends to run SQL functions as the owner of the materialized view, enabling safe refresh of untrusted materialized views. The victim is a superuser or member of one of the attacker's roles. The attack requires luring the victim into running REFRESH MATERIALIZED VIEW CONCURRENTLY on the attacker's materialized view. Versions before PostgreSQL 16.2, 15.6, 14.11, 13.14, and 12.18 are affected.
위험도 세부 항목 CVSS 3.1
- 공격 경로
- 네트워크(원격) AV:N
- 공격 난이도
- 낮음(쉬움) AC:L
- 필요한 권한
- 일반 사용자 PR:L
- 사용자 행동 필요
- 필요(클릭 등) UI:R
- 영향 범위
- 그 제품 안 S:U
- 정보 유출(기밀성)
- 높음 C:H
- 데이터 변조(무결성)
- 높음 I:H
- 서비스 중단(가용성)
- 높음 A:H
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
조치 방법 51행
Microsoft 조치 (KB 업데이트) 5행
| 출처 | 플랫폼·제품 | 방식 | 패키지 | 수정된 버전 | 권고문RHSA 등 | 내용 |
|---|---|---|---|---|---|---|
| Microsoft | azl3 postgresql 16.1-1 on Azure Linux 3.0 | 패치(업데이트) | CBL-Mariner Releases | 16.3-1 | CBL-Mariner Releases | 보안 업데이트 |
| Microsoft | azl3 postgresql 16.3-1 on Azure Linux 3.0 | 패치(업데이트) | CBL-Mariner Releases | 16.3-1 | CBL-Mariner Releases | 보안 업데이트 |
| Microsoft | cbl2 postgresql 14.10-1 on CBL Mariner 2.0 | 패치(업데이트) | CBL-Mariner Releases | 14.11-1 | CBL-Mariner Releases | 보안 업데이트 |
| Microsoft | cbl2 postgresql 14.10-1 on CBL-Mariner 2.0 | 패치(업데이트) | CBL-Mariner Releases | 14.11-1 | CBL-Mariner Releases | 보안 업데이트 |
| Microsoft | cbl2 postgresql 14.11-1 on CBL Mariner 2.0 | 패치(업데이트) | CBL-Mariner Releases | 14.11-1 | CBL-Mariner Releases | 보안 업데이트 |
Red Hat 조치 46행
| 출처 | 플랫폼·제품 | 방식 | 패키지 | 수정된 버전 | 권고문RHSA 등 | 내용 |
|---|---|---|---|---|---|---|
| Red Hat | OpenShift Serverless | 수정판 없음 | postgresql | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat (공통) | 완화 조치 | 원문 | Mitigation for this issue is either not available or the currently available options don't meet the …Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. |
||
| Red Hat | Red Hat build of Apicurio Registry 2 | 수정판 없음 | postgresql | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat build of Debezium 2 | 수정판 없음 | postgresql | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat build of OptaPlanner 8 | 수정판 없음 | postgresql | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Data Grid 8 | 수정판 없음 | postgresql | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 6 | 수정판 없음 | postgresql | 원문 | Red Hat 상태: 지원 기간 끝남 | |
| Red Hat | Red Hat Enterprise Linux 7 | 수정판 없음 | postgresql | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 8 | 수정판 없음 | postgresql:16/postgresql | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 9 | 수정판 없음 | postgresql:16/postgresql | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Fuse 7 | 수정판 없음 | postgresql | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat JBoss Data Grid 7 | 수정판 없음 | postgresql | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 8 | 패치(업데이트) | postgresql:10-8090020240213200157.a75119d5 | RHSA-2024:0956 | ||
| Red Hat | Red Hat Enterprise Linux 8 | 패치(업데이트) | postgresql:12-8090020240209130909.a75119d5 | RHSA-2024:0974 | ||
| Red Hat | Red Hat Enterprise Linux 8 | 패치(업데이트) | postgresql:13-8090020240209125046.a75119d5 | RHSA-2024:0975 | ||
| Red Hat | Red Hat Enterprise Linux 8 | 패치(업데이트) | postgresql:15-8090020240209124629.a75119d5 | RHSA-2024:0973 | ||
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 패치(업데이트) | postgresql:10-8020020240229083218.4cda2c84 | RHSA-2024:1422 | ||
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 패치(업데이트) | postgresql:12-8020020240214021628.4cda2c84 | RHSA-2024:1071 | ||
| Red Hat | Red Hat Enterprise Linux 8.2 Telecommunications Update Service | 패치(업데이트) | postgresql:10-8020020240229083218.4cda2c84 | RHSA-2024:1422 | ||
| Red Hat | Red Hat Enterprise Linux 8.2 Telecommunications Update Service | 패치(업데이트) | postgresql:12-8020020240214021628.4cda2c84 | RHSA-2024:1071 | ||
| Red Hat | Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | 패치(업데이트) | postgresql:10-8020020240229083218.4cda2c84 | RHSA-2024:1422 | ||
| Red Hat | Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | 패치(업데이트) | postgresql:12-8020020240214021628.4cda2c84 | RHSA-2024:1071 | ||
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 패치(업데이트) | postgresql:10-8040020240226112406.522a0ee4 | RHSA-2024:1429 | ||
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 패치(업데이트) | postgresql:12-8040020240214080556.522a0ee4 | RHSA-2024:1195 | ||
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 패치(업데이트) | postgresql:13-8040020240222071300.522a0ee4 | RHSA-2024:1437 | ||
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 패치(업데이트) | postgresql:10-8040020240226112406.522a0ee4 | RHSA-2024:1429 | ||
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 패치(업데이트) | postgresql:12-8040020240214080556.522a0ee4 | RHSA-2024:1195 | ||
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 패치(업데이트) | postgresql:13-8040020240222071300.522a0ee4 | RHSA-2024:1437 | ||
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 패치(업데이트) | postgresql:10-8040020240226112406.522a0ee4 | RHSA-2024:1429 | ||
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 패치(업데이트) | postgresql:12-8040020240214080556.522a0ee4 | RHSA-2024:1195 | ||
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 패치(업데이트) | postgresql:13-8040020240222071300.522a0ee4 | RHSA-2024:1437 | ||
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 패치(업데이트) | postgresql:10-8060020240220155541.ad008a3a | RHSA-2024:1348 | ||
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 패치(업데이트) | postgresql:12-8060020240214083443.ad008a3a | RHSA-2024:1070 | ||
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 패치(업데이트) | postgresql:13-8060020240219120118.ad008a3a | RHSA-2024:1315 | ||
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 패치(업데이트) | postgresql:10-8080020240227061409.63b34585 | RHSA-2024:1428 | ||
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 패치(업데이트) | postgresql:12-8080020240214025906.63b34585 | RHSA-2024:1069 | ||
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 패치(업데이트) | postgresql:13-8080020240221110841.63b34585 | RHSA-2024:1426 | ||
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 패치(업데이트) | postgresql:15-8080020240220104521.63b34585 | RHSA-2024:1017 | ||
| Red Hat | Red Hat Enterprise Linux 9 | 패치(업데이트) | postgresql | 13.14-1.el9_3 | RHSA-2024:0951 | |
| Red Hat | Red Hat Enterprise Linux 9 | 패치(업데이트) | postgresql:15-9030020240209100638.rhel9 | RHSA-2024:0950 | ||
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 패치(업데이트) | postgresql | 13.14-1.el9_0 | RHSA-2024:1240 | |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 패치(업데이트) | postgresql | 13.14-1.el9_2 | RHSA-2024:1241 | |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 패치(업데이트) | postgresql:15-9020020240213145157.rhel9 | RHSA-2024:1314 | ||
| Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux 7 | 패치(업데이트) | rh-postgresql10-postgresql | 10.23-3.el7 | RHSA-2024:0992 | |
| Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux 7 | 패치(업데이트) | rh-postgresql12-postgresql | 12.18-1.el7 | RHSA-2024:0990 | |
| Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux 7 | 패치(업데이트) | rh-postgresql13-postgresql | 13.14-1.el7 | RHSA-2024:0988 |
살펴볼 장비 초안
분류 대상이 아닙니다 (지금은 KEV 만 분류합니다). 안전하다는 뜻이 아닙니다.
단계별 판정 예시 환경
시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.
출처별 내용 2건
ASEC PostgreSQL 취약점 보안 업데이트 권고 (CVE-2024-0985) 2024-02-13
개요 PostgreSQL( https://www.postgresql.org/ )에서는 공급한 제품의 취약점을 해결하는 보안 업데이트를 발표하였습니다. 해당하는 제품 사용자는 최신 버전으로 업데이트 하시기 바랍니다. 대상 제품 PostgreSQL 15 PostgreSQL 14 PostgreSQL 13 PostgreSQL 12 해결된 취약점 PostgreSQL에서 발생하는 임의 SQL 실행 취약점 (CVE-2024-0985, CVSS 8.0) [1] 취약점 패치 02월 06일 게시된 보안 권고에 따라 해당 버전 및 최신 버전으로 업데이트 하시기 바랍니다. PostgreSQL 15.6 PostgreSQL 14.11 PostgreSQL 13.14 PostgreSQL 12.18 참고 사이트 [1] CVE-2024-0985 : PostgreSQL non-owner REFRESH MATERIALIZED VIEW CONCURRENTLY executes arbitrary SQL https://www.postgresql.org/support/security/CVE-2024-0985/
ASEC 영어·일본어 등 다른 언어 글 1건
ASEC PostgreSQL Vulnerability Security Update Advisory (CVE-2024-0985) 2024-02-13
Overview PostgreSQL (https://www.postgresql.org/ ) has released a security update that fixes vulnerabilities in its products. Users of affected products are advised to update to the latest version. Affected Products PostgreSQL 15 PostgreSQL 14 PostgreSQL 13 PostgreSQL 12 Resolved Vulnerabilities Arbitrary SQL Execution Vulnerability in PostgreSQL (CVE-2024-0985, CVSS 8.0) [1] Vulnerability Patches Please follow the security advisory published on February 06, 2016 to update to the appropriate version and the latest version. PostgreSQL 15.6 PostgreSQL 14.11 PostgreSQL 13.14 PostgreSQL 12.18 Referenced Sites [1] CVE-2024-0985 : PostgreSQL non-owner REFRESH MATERIALIZED VIEW CONCURRENTLY executes arbitrary SQL https://www.postgresql.org/support/security/CVE-2024-0985/
자동 추천 장비와 근거 참고용
추천할 매핑이 없습니다.
취약점 종류 CWE
- CWE-271 Privilege Dropping / Lowering Errors
영향받는 제품 CPE · 4건
| 제조사 | 제품 | 영향받는 버전 | 표준 표기CPE |
|---|---|---|---|
| postgresql | postgresql | 12.0 이상 12.18 미만 | cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
| postgresql | postgresql | 13.0 이상 13.14 미만 | cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
| postgresql | postgresql | 14.0 이상 14.11 미만 | cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
| postgresql | postgresql | 15.0 이상 15.6 미만 | cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
참고 링크 7건
- https://lists.debian.org/debian-lts-announce/2024/03/msg00017.html
- https://saites.dev/projects/personal/postgres-cve-2024-0985/
- 제조사 권고 https://www.postgresql.org/support/security/CVE-2024-0985/
- https://lists.debian.org/debian-lts-announce/2024/03/msg00017.html
- https://saites.dev/projects/personal/postgres-cve-2024-0985/
- https://security.netapp.com/advisory/ntap-20241220-0005/
- 제조사 권고 https://www.postgresql.org/support/security/CVE-2024-0985/
용어 설명 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 로 기계 번역한 설명입니다.