| タイトル | PostgreSQL.orgのPostgreSQLにおけるUNIX Symbolic Link のフォローに関する脆弱性 |
|---|---|
| 概要 | PostgreSQLのpg_basebackupのプレーン形式およびpg_rewindにおけるシンボリックリンク追跡の脆弱性により、オリジンスーパーユーザーがローカルファイル(例:/var/lib/postgres/.bashrc)を上書きし、オペレーティングシステムのアカウントを乗っ取る可能性があります。これらのコマンドの実行後にサーバーを起動する際には、shared_preload_librariesのような機能によりオリジンスーパーユーザーが暗黙的に信頼される状態が続きます。したがって、この攻撃が実際的な意味を持つのは、これらのコマンドの実行とサーバー起動の間に、ファイルを異なるVMに移動するかVMのスナップショットを取るなどの適切な対策を講じた場合に限られます。影響を受けるバージョンはPostgreSQL 18.4未満、17.10未満、16.14未満、15.18未満、および14.23未満です。 |
| 想定される影響 | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月14日0:00 |
| 登録日 | 2026年5月20日13:25 |
| 最終更新日 | 2026年5月20日13:25 |
| CVSS3.0 : 重要 | |
| スコア | 8.8 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| PostgreSQL.org |
| PostgreSQL 14.23 未満 |
| PostgreSQL 15.0 以上 15.18 未満 |
| PostgreSQL 16.0 以上 16.14 未満 |
| PostgreSQL 17.0 以上 17.10 未満 |
| PostgreSQL 18.0 以上 18.4 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年05月20日] 掲載 |
2026年5月20日13:25 |
| 概要 | Symlink following in PostgreSQL pg_basebackup plain format and in pg_rewind allows an origin superuser to overwrite local files, e.g. /var/lib/postgres/.bashrc, that hijack the operating system account. It will remain the case that starting the server after these commands implicitly trusts the origin superuser, due to features like shared_preload_libraries. Hence, the attack has practical implications only if one takes relevant action between these commands and server start, like moving the files to a different VM or snapshotting the VM. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected. |
|---|---|
| 公表日 | 2026年5月14日23:16 |
| 登録日 | 2026年5月15日4:24 |
| 最終更新日 | 2026年5月19日0:02 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 14.23 | ||||
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 15.0 | 15.18 | |||
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 16.0 | 16.14 | |||
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 17.0 | 17.10 | |||
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 18.0 | 18.4 | |||