🇰🇷 한글 설명
pghoard는 PostgreSQL 백업 데몬으로, 클라우드 저장소에 백업 데이터를 저장합니다. 경로 순회 취약점으로 인해 공격자가 pghoard의 권한으로 디스크 파일에 접근하여 민감한 정보를 유출할 수 있습니다. 2.2.2a 이후 버전에서 해결되었습니다.
💡 쉬운 설명
pghoard 백업 서비스에서 공격자가 파일 경로를 조작하여 서버의 보호된 파일에 접근할 수 있습니다. 최신 버전으로 업그레이드하면 문제가 해결됩니다.
🇺🇸 원문 (English)
pghoard is a PostgreSQL backup daemon and restore tooling that stores backup data in cloud object stores. A vulnerability has been discovered that could allow an attacker to acquire disk access with privileges equivalent to those of pghoard, allowing for unintended path traversal. Depending on the permissions/privileges assigned to pghoard, this could allow disclosure of sensitive information. This issue has been addressed in releases after 2.2.2a. Users are advised to upgrade. There are no known workarounds for this vulnerability.
📍 영향받는 시스템
pghoard 버전 2.2.2a 이하
⚔️ 공격 벡터
경로 순회(path traversal) 공격으로 비인가 파일 접근
🛡️ 대응 방법
pghoard를 2.2.2a 초과 버전으로 업그레이드
🔧 검증 코드
출력된 버전이 2.2.2a보다 높으면 안전, 2.2.2a 이하면 업그레이드 필요
pip show pghoard 2>/dev/null | grep Version || python3 -c "import pghoard; print(pghoard.__version__)" 2>/dev/null