🔍 CVE-2026-50738

5.3
CVSS Score
MEDIUM
2026-07-28
2026-10-23 23:10
✅ 완료

🇰🇷 한글 설명

pglogical의 워커 신호 코드에서 Use-after-free 취약점이 발견되었습니다. 워커의 생명주기 이벤트 중 슬롯이 해제되거나 재사용된 후 해당 구조체를 참조할 때 발생하며, 이는 서비스 거부(DoS)를 유발하거나 최악의 경우 원격 코드 실행(RCE)으로 이어질 수 있습니다.

💡 쉬운 설명

프로그램이 이미 삭제된 메모리 공간을 다시 사용하려고 할 때 발생하는 오류입니다. 이로 인해 데이터베이스 서비스가 갑자기 멈추거나, 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

A use-after-free condition exists in pglogical's worker signaling code, where a worker structure can be dereferenced after the underlying slot has been freed or recycled during normal worker lifecycle events. The condition is reachable during normal replication operation, including by a low-privileged user able to influence worker start, stop, and restart timing through permitted pglogical operations. In the typical case the condition crashes replication workers, causing an availability impact. In the worst case a use-after-free in a PostgreSQL backend can be leveraged as a remote code execution primitive at the privilege of that backend.

📍 영향받는 시스템

pglogical 확장 모듈이 설치된 PostgreSQL 환경

⚔️ 공격 벡터

낮은 권한의 사용자가 허용된 pglogical 작업을 통해 워커의 시작, 중지, 재시작 타이밍을 조작하여 발생

🛡️ 대응 방법

pglogical 확장 모듈을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에서 pglogical의 설치 여부와 현재 버전을 확인하여 보안 패치 적용 여부를 판단합니다.

Shell / Script
pg_config --version && psql -c "SELECT extname, extversion FROM pg_extension WHERE extname = 'pglogical';"

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PostgreSQL