RHEL 8:jenkins and jenkins-2-plugins (RHSA-2023:3198)

critical Nessus Plugin ID 194295

概要

遠端 Red Hat 主機缺少一個或多個 jenkins / jenkins-2-plugins 安全性更新。

說明

遠端 Redhat Enterprise Linux 8 主機上安裝的多個套件受到 RHSA-2023:3198 公告中提及的多個弱點影響。

- maven:依預設封鎖使用 http 的存放庫 (CVE-2021-26291)

- SnakeYaml:建構函式反序列化遠端程式碼執行 (CVE-2022-1471)

- snakeyaml:因遺漏集合的巢狀深度限制而導致拒絕服務 (CVE-2022-25857)

- maven-shared-utils:透過命令列類別命令插入 (CVE-2022-29599)

- Jenkins plugin:Blue Ocean Plugin 中的 CSRF 弱點 (CVE-2022-30953)

- Jenkins plugin:Blue Ocean Plugin 中缺少權限檢查 (CVE-2022-30954)

- apache-commons-text:變數內插 RCE (CVE-2022-42889)

- jenkins-plugin/script-security:Jenkins 指令碼安全性 Plugin 中的沙箱繞過弱點 (CVE-2022-43401、CVE-2022-43403、CVE-2022-43404)

- jenkins-plugin/workflow-cps:Pipeline: Groovy 外掛程式中的沙箱繞過弱點 (CVE-2022-43402)

- jenkins-plugin/pipeline-groovy-lib:工作流程:Groovy Libraries Plugin 中的沙箱繞過弱點 (CVE-2022-43405)

- jenkins-plugin/workflow-cps-global-lib:工作流程:Deprecated Groovy Libraries Plugin 中的沙箱繞過弱點 (CVE-2022-43406)

- jenkins-plugin/pipeline-input-step:可在工作流程:輸入步驟 Plugin 中繞過任何 URL 的 CSRF 保護 (CVE-2022-43407)

- jenkins-plugin/pipeline-stage-view:可在工作流程:階段檢視 Plugin 中繞過任何 URL 的 CSRF 保護 (CVE-2022-43408)

- jenkins-plugin/workflow-support:工作流程:支援 API Plugin 中的已儲存 XSS 弱點 (CVE-2022-43409)

- mina-sshd:Java 不安全的還原序列化弱點 (CVE-2022-45047)

- jenkins-2-plugins/script-security:Jenkins 指令碼安全性 Plugin 中的沙箱繞過弱點 (CVE-2023-24422)

- jenkins-2-plugins/JUnit:JUnit Plugin 中的已儲存 XSS 弱點 (CVE-2023-25761)

- jenkins-2-plugins/pipeline-build-step:Pipeline: Build Step Plugin 中的已儲存 XSS 弱點 (CVE-2023-25762)

- Jenkins:使用不安全的權限建立暫存檔案參數 (CVE-2023-27903)

- Jenkins:與代理程式相關的錯誤堆疊追踪導致資訊洩漏 (CVE-2023-27904)

請注意,Nessus 並未測試這些問題,而是僅根據應用程式自我報告的版本號碼作出判斷。

解決方案

根據 RHSA-2023:3198 中的指引更新 RHEL jenkins / jenkins-2-plugins 套件。

另請參閱

https://access.redhat.com/security/updates/classification/#critical

http://www.nessus.org/u?80380ceb

https://bugzilla.redhat.com/show_bug.cgi?id=1955739

https://bugzilla.redhat.com/show_bug.cgi?id=2066479

https://bugzilla.redhat.com/show_bug.cgi?id=2119646

https://bugzilla.redhat.com/show_bug.cgi?id=2119647

https://bugzilla.redhat.com/show_bug.cgi?id=2126789

https://bugzilla.redhat.com/show_bug.cgi?id=2135435

https://bugzilla.redhat.com/show_bug.cgi?id=2136370

https://bugzilla.redhat.com/show_bug.cgi?id=2136374

https://bugzilla.redhat.com/show_bug.cgi?id=2136379

https://bugzilla.redhat.com/show_bug.cgi?id=2136381

https://bugzilla.redhat.com/show_bug.cgi?id=2136382

https://bugzilla.redhat.com/show_bug.cgi?id=2136383

https://bugzilla.redhat.com/show_bug.cgi?id=2136386

https://bugzilla.redhat.com/show_bug.cgi?id=2136388

https://bugzilla.redhat.com/show_bug.cgi?id=2136391

https://bugzilla.redhat.com/show_bug.cgi?id=2145194

https://bugzilla.redhat.com/show_bug.cgi?id=2150009

https://bugzilla.redhat.com/show_bug.cgi?id=2164278

https://bugzilla.redhat.com/show_bug.cgi?id=2170039

https://bugzilla.redhat.com/show_bug.cgi?id=2170041

https://bugzilla.redhat.com/show_bug.cgi?id=2177632

https://bugzilla.redhat.com/show_bug.cgi?id=2177634

http://www.nessus.org/u?5e7e4c2f

https://access.redhat.com/errata/RHSA-2023:3198

Plugin 詳細資訊

嚴重性: Critical

ID: 194295

檔案名稱: redhat-RHSA-2023-3198.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2024/4/28

已更新: 2024/4/29

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

風險資訊

VPR

風險因素: High

分數: 8.4

CVSS v2

風險因素: High

基本分數: 7.5

時間分數: 6.2

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

CVSS 評分資料來源: CVE-2022-29599

CVSS v3

風險因素: Critical

基本分數: 9.9

時間分數: 9.2

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

時間媒介: CVSS:3.0/E:F/RL:O/RC:C

CVSS 評分資料來源: CVE-2022-43406

弱點資訊

CPE: cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:jenkins, p-cpe:/a:redhat:enterprise_linux:jenkins-2-plugins

必要的 KB 項目: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2023/5/17

弱點發布日期: 2021/4/23

可惡意利用

Metasploit (Apache Commons Text RCE)

參考資訊

CVE: CVE-2021-26291, CVE-2022-1471, CVE-2022-25857, CVE-2022-29599, CVE-2022-30953, CVE-2022-30954, CVE-2022-42889, CVE-2022-43401, CVE-2022-43402, CVE-2022-43403, CVE-2022-43404, CVE-2022-43405, CVE-2022-43406, CVE-2022-43407, CVE-2022-43408, CVE-2022-43409, CVE-2022-45047, CVE-2023-24422, CVE-2023-25761, CVE-2023-25762, CVE-2023-27903, CVE-2023-27904

CWE: 1188, 20, 200, 266, 352, 400, 502, 693, 77, 79, 838, 862

RHSA: 2023:3198