Amazon Linux 2023 : postgresql16、postgresql16-contrib、postgresql16-llvmjit (ALAS2023-2025-1314)

medium Nessus プラグイン ID 277801

概要

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

説明

したがって、ALAS2023-2025-1314 のアドバイザリに記載されている複数の脆弱性の影響を受けます。

PostgreSQL CREATE STATISTICS コマンドでの承認がないため、テーブルの所有者が、任意のスキーマで を作成することで、他の CREATE STATISTICS ユーザーに対してサービス拒否を引き起こす可能性があります。CREATE 権限を持っているユーザーが行う同じ名前の CREATE STATISTICS は、その後失敗します。PostgreSQL 18.1、17.7、16.11、15.15、14.20、13.23 より前のバージョンが影響を受けます。(CVE-2025-12817)

複数の PostgreSQL libpq クライアントライブラリ関数の整数ラップアラウンドにより、アプリケーション入力プロバイダーまたはネットワークピアが、libpq に割り当てをアンダーサイズさせて、数百のメガバイト領域外書き込みを行うことができます。これにより、libpq を使用するアプリケーションでセグメンテーション違反が発生します。PostgreSQL 18.1、17.7、16.11、15.15、14.20、13.23 より前のバージョンが影響を受けます。(CVE-2025-12818)

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

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

ソリューション

「dnf update postgresql16 --releasever 2023.9.20251208」または「dnf update --advisory ALAS2023-2025-1314 --releasever 2023.9.20251208」を実行してシステムを更新してください。

参考資料

https://alas.aws.amazon.com//AL2023/ALAS2023-2025-1314.html

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

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

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

プラグインの詳細

深刻度: Medium

ID: 277801

ファイル名: al2023_ALAS2023-2025-1314.nasl

バージョン: 1.1

タイプ: local

エージェント: unix

公開日: 2025/12/9

更新日: 2025/12/9

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

リスク情報

VPR

リスクファクター: Low

スコア: 3.6

CVSS v2

リスクファクター: High

基本値: 7.8

現状値: 5.8

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

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

CVSS v3

リスクファクター: Medium

基本値: 5.9

現状値: 5.2

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

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

脆弱性情報

CPE: cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:postgresql16, p-cpe:/a:amazon:linux:postgresql16-contrib, p-cpe:/a:amazon:linux:postgresql16-contrib-debuginfo, p-cpe:/a:amazon:linux:postgresql16-debuginfo, p-cpe:/a:amazon:linux:postgresql16-debugsource, p-cpe:/a:amazon:linux:postgresql16-docs, p-cpe:/a:amazon:linux:postgresql16-docs-debuginfo, p-cpe:/a:amazon:linux:postgresql16-llvmjit, p-cpe:/a:amazon:linux:postgresql16-llvmjit-debuginfo, p-cpe:/a:amazon:linux:postgresql16-plperl, p-cpe:/a:amazon:linux:postgresql16-plperl-debuginfo, p-cpe:/a:amazon:linux:postgresql16-plpython3, p-cpe:/a:amazon:linux:postgresql16-plpython3-debuginfo, p-cpe:/a:amazon:linux:postgresql16-pltcl, p-cpe:/a:amazon:linux:postgresql16-pltcl-debuginfo, p-cpe:/a:amazon:linux:postgresql16-private-devel, p-cpe:/a:amazon:linux:postgresql16-private-libs, p-cpe:/a:amazon:linux:postgresql16-private-libs-debuginfo, p-cpe:/a:amazon:linux:postgresql16-server, p-cpe:/a:amazon:linux:postgresql16-server-debuginfo, p-cpe:/a:amazon:linux:postgresql16-server-devel, p-cpe:/a:amazon:linux:postgresql16-server-devel-debuginfo, p-cpe:/a:amazon:linux:postgresql16-static, p-cpe:/a:amazon:linux:postgresql16-test, p-cpe:/a:amazon:linux:postgresql16-test-debuginfo, p-cpe:/a:amazon:linux:postgresql16-test-rpm-macros, p-cpe:/a:amazon:linux:postgresql16-upgrade, p-cpe:/a:amazon:linux:postgresql16-upgrade-debuginfo, p-cpe:/a:amazon:linux:postgresql16-upgrade-devel, p-cpe:/a:amazon:linux:postgresql16-upgrade-devel-debuginfo

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

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

パッチ公開日: 2025/12/8

脆弱性公開日: 2025/11/13

参照情報

CVE: CVE-2025-12817, CVE-2025-12818

IAVB: 2025-B-0192