Debian DLA-2282-1:rails 安全性更新

critical Nessus Plugin ID 138781

概要

遠端 Debian 主機缺少一個安全性更新。

說明

在 Ruby on Rails (一個適用於 Web 應用程式開發的 MVC ruby 架構) 中發現多個弱點,視應用程式而定,可導致遠端程式碼執行和未受信任的使用者輸入使用方式。

CVE-2020-8163

Rails 中有一個程式碼插入弱點,控制「render」呼叫之「locals」引數的攻擊者可以藉此執行 RCE 攻擊。

CVE-2020-8164

rails 中有一個未受信任的資料還原序列化弱點,允許攻擊者提供可以從強參數不慎洩漏的資訊。

CVE-2020-8165

rails 中有一個未受信任的資料還原序列化弱點,允許攻擊者取消封送 MemCacheStore 和 RedisCacheStore 中由使用者提供的物件,這可能導致 RCE。

針對 Debian 9「Stretch」,已在 2:4.2.7.1-1+deb9u3 版本中修正這些問題。

建議您升級 rails 套件。

如需有關 rails 安全性狀態的詳細資訊,請參閱其安全追蹤頁面: https://security-tracker.debian.org/tracker/rails

注意:Tenable Network Security 已直接從 DLA 安全性公告擷取前置描述區塊。Tenable 已盡量在不造成其他問題的前提下,嘗試自動清理並將其格式化。

解決方案

升級受影響的套件。

另請參閱

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

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

https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html

Plugin 詳細資訊

嚴重性: Critical

ID: 138781

檔案名稱: debian_DLA-2282.nasl

版本: 1.4

類型: local

代理程式: unix

已發布: 2020/7/21

已更新: 2024/2/29

支援的感應器: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.5

時間分數: 5.9

媒介: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS 評分資料來源: CVE-2020-8165

CVSS v3

風險因素: Critical

基本分數: 9.8

時間分數: 8.8

媒介: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

時間媒介: 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

修補程式發佈日期: 2020/7/20

弱點發布日期: 2020/6/19

參考資訊

CVE: CVE-2020-8163, CVE-2020-8164, CVE-2020-8165