DebianDLA-2655-1:railsのセキュリティ更新

high Nessus プラグイン ID 149427

概要

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

説明

CVE-2021-22885

信頼できないユーザーの入力によって「redirect_to」または「polyformic_url」ヘルパーが使用されるとき、Action Packに情報漏洩/意図しないメソッドの実行の脆弱性があります。

CVE-2021-22904

Action Controllerのトークン認証ロジックにDoS脆弱性の可能性があります。影響を受けるコードは、リクエストの認証に「authenticate_or_request_with_http_token」または「authenticate_with_http_token」を使用します。

Debian 9 'Stretch'では、これらの問題はバージョン2:4.2.7.1-1+deb9u5で修正されています。

お使いのrailsパッケージをアップグレードすることを推奨します。

railsの詳細なセキュリティステータスについては、そのセキュリティトラッカーページを参照してください: https://security-tracker.debian.org/tracker/rails

注:Tenable Network Securityは、前述の記述ブロックをDLAセキュリティアドバイザリーから直接抽出しています。Tenableでは、新たな問題を持ち込まずに、できる限り自動的に整理して書式設定するようにしています。

ソリューション

影響を受けるパッケージをアップグレードしてください。

参考資料

https://lists.debian.org/debian-lts-announce/2021/05/msg00010.html

https://packages.debian.org/source/stretch/rails

https://security-tracker.debian.org/tracker/source-package/rails

プラグインの詳細

深刻度: High

ID: 149427

ファイル名: debian_DLA-2655.nasl

バージョン: 1.5

タイプ: local

エージェント: unix

公開日: 2021/5/12

更新日: 2024/1/12

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

リスク情報

VPR

リスクファクター: Medium

スコア: 4.4

CVSS v2

リスクファクター: Medium

基本値: 5

現状値: 3.9

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

CVSS スコアのソース: CVE-2021-22885

CVSS v3

リスクファクター: High

基本値: 7.5

現状値: 6.7

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

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

脆弱性情報

CPE: p-cpe:/a:debian:debian_linux:rails, p-cpe:/a:debian:debian_linux:ruby-actionmailer, p-cpe:/a:debian:debian_linux:ruby-actionpack, p-cpe:/a:debian:debian_linux:ruby-actionview, p-cpe:/a:debian:debian_linux:ruby-activejob, p-cpe:/a:debian:debian_linux:ruby-activemodel, p-cpe:/a:debian:debian_linux:ruby-activerecord, p-cpe:/a:debian:debian_linux:ruby-activesupport, p-cpe:/a:debian:debian_linux:ruby-rails, p-cpe:/a:debian:debian_linux:ruby-railties, cpe:/o:debian:debian_linux:9.0

必要な KB アイテム: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

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

エクスプロイトの容易さ: Exploits are available

パッチ公開日: 2021/5/11

脆弱性公開日: 2021/5/27

参照情報

CVE: CVE-2021-22885, CVE-2021-22904