Amazon Linux 2: postgresql、--advisory ALAS2-2025-3035 (ALAS-2025-3035)

high Nessus プラグイン ID 270530

概要

リモートの Amazon Linux 2 ホストに、セキュリティ更新プログラムがありません。

説明

リモートホストにインストールされている postgresql のバージョンは、9.2.24-8 より前です。したがって、ALAS2-2025-3035 のアドバイザリに記載されている脆弱性の影響を受けます。

PostgreSQL の pg_dump に信頼できないデータインクルージョンがあることにより、元のサーバーの悪意のあるスーパーユーザーが、psql を実行しているクライアントオペレーティングシステムのアカウントとして復元時実行用の任意のコードを注入し、psql メタコマンドを介してダンプを復元する可能性があります。pg_dumpall も影響を受けます。pg_restore は、平文フォーマットのダンプを生成するために使用される場合に影響を受けます。これは MySQL CVE-2024-21096 に類似しています。PostgreSQL 17.6、16.10、15.14、14.19、13.22 より前のバージョンが影響を受けます。(CVE-2025-8714)

Tenable は、前述の記述ブロックをテスト済み製品のセキュリティアドバイザリから直接抽出しています。

Nessus はこの問題をテストしておらず、代わりにアプリケーションが自己報告するバージョン番号にのみ依存していることに注意してください。

ソリューション

「yum update postgresql」または「yum update --advisory ALAS2-2025-3035」を実行してシステムを更新してください。

参考資料

https://alas.aws.amazon.com//AL2/ALAS2-2025-3035.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2025-8714.html

プラグインの詳細

深刻度: High

ID: 270530

ファイル名: al2_ALAS-2025-3035.nasl

バージョン: 1.1

タイプ: local

エージェント: unix

公開日: 2025/10/15

更新日: 2025/10/15

サポートされているセンサー: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

リスク情報

VPR

リスクファクター: Medium

スコア: 6.7

CVSS v2

リスクファクター: Critical

基本値: 10

現状値: 7.8

ベクトル: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS スコアのソース: CVE-2025-8714

CVSS v3

リスクファクター: High

基本値: 8.8

現状値: 7.9

ベクトル: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

現状ベクトル: CVSS:3.0/E:P/RL:O/RC:C

脆弱性情報

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:postgresql, p-cpe:/a:amazon:linux:postgresql-debuginfo, p-cpe:/a:amazon:linux:postgresql-libs, p-cpe:/a:amazon:linux:postgresql-plperl, p-cpe:/a:amazon:linux:postgresql-plpython, p-cpe:/a:amazon:linux:postgresql-contrib, p-cpe:/a:amazon:linux:postgresql-devel, p-cpe:/a:amazon:linux:postgresql-docs, p-cpe:/a:amazon:linux:postgresql-pltcl, p-cpe:/a:amazon:linux:postgresql-server, p-cpe:/a:amazon:linux:postgresql-static, p-cpe:/a:amazon:linux:postgresql-test, p-cpe:/a:amazon:linux:postgresql-upgrade

必要な KB アイテム: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

エクスプロイトが利用可能: true

エクスプロイトの容易さ: No known exploits are available

パッチ公開日: 2025/10/14

脆弱性公開日: 2025/8/14

参照情報

CVE: CVE-2025-8714

IAVB: 2025-B-0140