RHEL 8:container-tools: rhel8 (RHSA-2022: 1762)

high Nessus 插件 ID 161023

简介

远程 Red Hat 主机缺少一个或多个安全更新。

描述

远程 Redhat Enterprise Linux 8 主机上安装的多个程序包受到 RHSA-2022: 1762 公告中提及的多个漏洞影响。

- psgo: “podman top”中出现权限提升 (CVE-2022-1227)

- client_golang 是 Prometheus 中 Go 应用程序的检测库,client_golang 中的 promhttp 程序包可提供有关 HTTP 服务器和客户端的工具。在低于 1.11.1 版本的 client_golang 中,当使用非标准 HTTP 方法处理请求时,HTTP 服务器容易受到通过无限制基数而导致的拒绝服务以及潜在内存耗尽问题的影响。必须满足以下条件,受检测的软件才会受到影响:使用除 `RequestsInFlight` 以外的任何 `promhttp.InstrumentHandler*` 中间件;
在中间件之前,不过滤任何特定方法(例如 GET);将带有 `method` 标签名称的指标传递给我们的中间件;并且没有任何防火墙/LB/代理过滤掉具有未知 `method` 的请求。
client_golang 1.11.1 版本包含针对此问题的补丁。有多种变通方案可用,包括从 InstrumentHandler 使用的计数器/测量仪器中删除 `method` 标签名称;关闭受影响的 promhttp 处理程序;在 promhttp 处理程序之前添加自定义中间件,用于审查 Go http.Request 提供的请求方法;以及使用配置为仅允许有限方法集的反向代理或 Web 应用程序防火墙。(CVE-2022-21698)

- podman:linux 容器的默认可继承功能应为空 (CVE-2022-27649)

- crun: linux 容器的默认可继承功能应为空 (CVE-2022-27650)

- buildah:linux 容器的默认可继承功能应为空 (CVE-2022-27651)

请注意,Nessus 尚未测试这些问题,而是只依靠应用程序自我报告的版本号来判断。

解决方案

更新受影响的程序包。

另见

http://www.nessus.org/u?01c98516

http://www.nessus.org/u?9341665d

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

https://access.redhat.com/errata/RHSA-2022:1762

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

插件详情

严重性: High

ID: 161023

文件名: redhat-RHSA-2022-1762.nasl

版本: 1.10

类型: local

代理: unix

发布时间: 2022/5/11

最近更新时间: 2024/4/28

支持的传感器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: Medium

基本分数: 6.8

时间分数: 5.3

矢量: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS 分数来源: CVE-2022-1227

CVSS v3

风险因素: High

基本分数: 8.8

时间分数: 7.9

矢量: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

时间矢量: CVSS:3.0/E:P/RL:O/RC:C

漏洞信息

CPE: cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:aardvark-dns, p-cpe:/a:redhat:enterprise_linux:buildah, p-cpe:/a:redhat:enterprise_linux:buildah-tests, p-cpe:/a:redhat:enterprise_linux:cockpit-podman, p-cpe:/a:redhat:enterprise_linux:conmon, p-cpe:/a:redhat:enterprise_linux:container-selinux, p-cpe:/a:redhat:enterprise_linux:containernetworking-plugins, p-cpe:/a:redhat:enterprise_linux:containers-common, p-cpe:/a:redhat:enterprise_linux:crit, p-cpe:/a:redhat:enterprise_linux:criu, p-cpe:/a:redhat:enterprise_linux:criu-devel, p-cpe:/a:redhat:enterprise_linux:criu-libs, p-cpe:/a:redhat:enterprise_linux:crun, p-cpe:/a:redhat:enterprise_linux:fuse-overlayfs, p-cpe:/a:redhat:enterprise_linux:libslirp, p-cpe:/a:redhat:enterprise_linux:libslirp-devel, p-cpe:/a:redhat:enterprise_linux:netavark, p-cpe:/a:redhat:enterprise_linux:oci-seccomp-bpf-hook, p-cpe:/a:redhat:enterprise_linux:podman, p-cpe:/a:redhat:enterprise_linux:podman-catatonit, p-cpe:/a:redhat:enterprise_linux:podman-docker, p-cpe:/a:redhat:enterprise_linux:podman-gvproxy, p-cpe:/a:redhat:enterprise_linux:podman-plugins, p-cpe:/a:redhat:enterprise_linux:podman-remote, p-cpe:/a:redhat:enterprise_linux:podman-tests, p-cpe:/a:redhat:enterprise_linux:python-podman, p-cpe:/a:redhat:enterprise_linux:python3-criu, p-cpe:/a:redhat:enterprise_linux:python3-podman, p-cpe:/a:redhat:enterprise_linux:runc, p-cpe:/a:redhat:enterprise_linux:skopeo, p-cpe:/a:redhat:enterprise_linux:skopeo-tests, p-cpe:/a:redhat:enterprise_linux:slirp4netns, p-cpe:/a:redhat:enterprise_linux:toolbox, p-cpe:/a:redhat:enterprise_linux:toolbox-tests, p-cpe:/a:redhat:enterprise_linux:udica

必需的 KB 项: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可利用: true

易利用性: Exploits are available

补丁发布日期: 2022/5/10

漏洞发布日期: 2022/2/15

参考资料信息

CVE: CVE-2022-1227, CVE-2022-21698, CVE-2022-27649, CVE-2022-27650, CVE-2022-27651

CWE: 276, 281, 772

RHSA: 2022:1762