概要
細工されたアーカイブを復元するだけで、不正なプログラムを実行されるおそれ。
元の説明(英語)を読む
Improper input validation in PostgreSQL pg_restore allows a non-plain archive provider to execute arbitrary code as the operating system user running pg_restore, via a crafted archive. Note a contrast: crafted archive data may legitimately cause arbitrary SQL to execute at the restore destination, but it does not legitimately confer arbitrary code execution in the pg_restore OS process. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
影響を受ける人
他者提供のアーカイブを pg_restore で復元する PostgreSQL の利用者
対策
- PostgreSQL を 18.7、17.12、16.16、15.20、14.25 以降に更新する
- 出所の不明なアーカイブは復元しない
国内の動き
本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。
海外の動き
- The Hacker News(報道)↗11/16
PoC
公開されている PoC は、まだ見つかっていない。