RHEL 8:Jenkins and Jenkins-2-plugins (RHSA-2024:0778)

critical Nessus Plugin ID 194435

概要

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

說明

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

- google-oauth-client:缺少符合 RFC for OAuth 2.0 之 Native Apps 的 PKCE 支援可導致不當授權 (CVE-2020-7692)

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

- golang:所有 Parse* 函式中的堆疊耗盡弱點 (CVE-2022-1962)

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

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

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

- guava:不安全的暫存目錄建立方式 (CVE-2023-2976)

- springframework:Spring 運算式 DoS 弱點 (CVE-2023-20861)

- spring-security:登出時未正確儲存空白的 SecurityContext (CVE-2023-20862)

- 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 外掛程式中的已儲存 XSS 弱點 (CVE-2023-25762)

- jetty-server:讀取沒有檔案名稱的大型 multipart 時 request.getParameter() 會發生記憶體不足錯誤 (CVE-2023-26048)

- jetty-server:引用值的 Cookie 剖析可從洩漏其他 Cookie 中的值 (CVE-2023-26049)

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

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

- Jenkins:OpenShift Login 外掛程式中的開放重新導向弱點 (CVE-2023-37947)

- jetty:不當驗證 HTTP/1 content-length (CVE-2023-40167)

- jenkins-plugins: cloudbees-folder:Folders 外掛程式中的 CSRF 弱點 (CVE-2023-40337)

- jenkins-plugins: cloudbees-folder:Folders 外掛程式中的資料洩露弱點 (CVE-2023-40338)

- jenkins-plugins: config-file-provider:不當遮罩 Config File Provider 外掛程式中的認證 (CVE-2023-40339)

- jenkins-plugins: blueocean:BlueOcean 外掛程式中的 CSRF 弱點允許擷取認證 (CVE-2023-40341)

- jenkins:透過 CLI 的任意檔案讀取弱點可導致 RCE (CVE-2024-23897)

- jenkins:跨網站 WebSocket 劫持 (CVE-2024-23898)

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

解決方案

依據 RHSA-2024:0778 中的指引更新 RHEL Jenkins / Jenkins-2-plugins 套件。

另請參閱

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

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

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

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

https://issues.redhat.com/browse/OCPBUGS-14393

https://issues.redhat.com/browse/OCPBUGS-14642

https://issues.redhat.com/browse/OCPBUGS-15648

https://issues.redhat.com/browse/OCPBUGS-1709

https://issues.redhat.com/browse/OCPBUGS-1942

https://issues.redhat.com/browse/OCPBUGS-2099

https://issues.redhat.com/browse/OCPBUGS-2184

https://issues.redhat.com/browse/OCPBUGS-2318

https://issues.redhat.com/browse/OCPBUGS-27391

https://issues.redhat.com/browse/OCPBUGS-3692

https://issues.redhat.com/browse/OCPBUGS-4819

https://issues.redhat.com/browse/OCPBUGS-4833

https://issues.redhat.com/browse/OCPBUGS-655

https://issues.redhat.com/browse/OCPBUGS-6632

https://issues.redhat.com/browse/OCPBUGS-6982

https://issues.redhat.com/browse/OCPBUGS-7016

https://issues.redhat.com/browse/OCPBUGS-7050

https://issues.redhat.com/browse/OCPBUGS-710

https://issues.redhat.com/browse/OCPBUGS-8420

https://issues.redhat.com/browse/OCPBUGS-8497

https://issues.redhat.com/browse/OCPTOOLS-246

http://www.nessus.org/u?86d07ef4

https://access.redhat.com/errata/RHSA-2024:0778

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

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=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

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

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

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

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

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

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

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

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

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

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

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

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

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

https://issues.redhat.com/browse/JKNS-271

https://issues.redhat.com/browse/JKNS-289

https://issues.redhat.com/browse/OCPBUGS-10976

https://issues.redhat.com/browse/OCPBUGS-11158

https://issues.redhat.com/browse/OCPBUGS-11348

https://issues.redhat.com/browse/OCPBUGS-1357

https://issues.redhat.com/browse/OCPBUGS-13652

https://issues.redhat.com/browse/OCPBUGS-13901

https://issues.redhat.com/browse/OCPBUGS-14113

Plugin 詳細資訊

嚴重性: Critical

ID: 194435

檔案名稱: redhat-RHSA-2024-0778.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2024/4/29

已更新: 2024/4/30

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

風險資訊

VPR

風險因素: Critical

分數: 9.5

CVSS v2

風險因素: High

基本分數: 7.5

時間分數: 6.5

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

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

CVSS v3

風險因素: Critical

基本分數: 9.8

時間分數: 9.4

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

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

CVSS 評分資料來源: CVE-2024-23897

弱點資訊

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

修補程式發佈日期: 2024/2/12

弱點發布日期: 2020/7/9

可惡意利用

Core Impact

Metasploit (Apache Commons Text RCE)

參考資訊

CVE: CVE-2020-7692, CVE-2021-26291, CVE-2022-1962, CVE-2022-25857, CVE-2022-29599, CVE-2022-42889, CVE-2023-20861, CVE-2023-20862, CVE-2023-24422, CVE-2023-25761, CVE-2023-25762, CVE-2023-26048, CVE-2023-26049, CVE-2023-27903, CVE-2023-27904, CVE-2023-2976, CVE-2023-37947, CVE-2023-40167, CVE-2023-40337, CVE-2023-40338, CVE-2023-40339, CVE-2023-40341, CVE-2024-23897, CVE-2024-23898

CWE: 1188, 1286, 130, 1325, 20, 200, 266, 352, 358, 400, 459, 552, 601, 77, 770, 79, 88

RHSA: 2024:0778