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

critical Nessus 插件 ID 194295

简介

远程 Red Hat 主机缺少一个或多个 RHEL 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 插件:Blue Ocean 插件中存在 CSRF 漏洞 (CVE-2022-30953)

- Jenkins 插件:Blue Ocean 插件中缺少权限检查 (CVE-2022-30954)

- apache-commons-text:变量插值 RCE (CVE-2022-42889)

- jenkins-plugin/script-security:Jenkins 脚本安全插件中存在沙盒绕过漏洞(CVE-2022-43401、CVE-2022-43403、CVE-2022-43404)

- jenkins-plugin/workflow-cps:Pipeline 中存在沙盒绕过漏洞:Groovy 插件 (CVE-2022-43402)

- jenkins-plugin/pipeline-groovy-lib:Pipeline 中存在沙盒绕过漏洞:Groovy Libraries 插件 (CVE-2022-43405)

- jenkins-plugin/workflow-cps-global-lib:Pipeline 中存在沙盒绕过漏洞:已弃用的 Groovy 库插件 (CVE-2022-43406)

- jenkins-plugin/pipeline-input-step:可在 Pipeline 中绕过针对任何 URL 的 CSRF 保护:Input Step 插件 (CVE-2022-43407)

- jenkins-plugin/pipeline-stage-view:可在 Pipeline 中绕过针对任何 URL 的 CSRF 保护:Stage View 插件 (CVE-2022-43408)

- jenkins-plugin/workflow-support:Pipeline 中存在存储型 XSS 漏洞:支持性 API 插件 (CVE-2022-43409)

- mina-sshd:Java 不安全反序列化漏洞 (CVE-2022-45047)

- jenkins-2-plugins/script-security:脚本安全插件中存在沙盒绕过漏洞 (CVE-2023-24422)

- jenkins-2-plugins/JUnit:JUnit 插件中存在存储型 XSS 漏洞 (CVE-2023-25761)

- jenkins-2-plugins/pipeline-build-step:Pipeline: Build Step 插件中的存储 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

插件详情

严重性: 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