CentOS 8 : container-tools:4.0 (CESA-2024:0121)

high Nessus Plugin ID 187867

Synopsis

The remote CentOS host is missing one or more security updates.

Description

The remote CentOS Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the CESA-2024:0121 advisory.

- In net/http in Go before 1.18.6 and 1.19.x before 1.19.1, attackers can cause a denial of service because an HTTP/2 connection can hang during closing if shutdown were preempted by a fatal error. (CVE-2022-27664)

- Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics.
After fix, Reader.Read limits the maximum size of header blocks to 1 MiB. (CVE-2022-2879)

- Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparsable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparsable value. After fix, ReverseProxy sanitizes the query parameters in the forwarded query when the outbound request's Form field is set after the ReverseProxy. Director function returns, indicating that the proxy has parsed the query parameters. Proxies which do not parse query parameters continue to forward the original query parameters unchanged. (CVE-2022-2880)

- Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected. (CVE-2022-41715)

- Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures. With fix, the size of RSA keys transmitted during handshakes is restricted to <= 8192 bits. Based on a survey of publicly trusted RSA keys, there are currently only three certificates in circulation with keys larger than this, and all three appear to be test certificates that are not actively deployed. It is possible there are larger keys in use in private PKIs, but we target the web PKI, so causing breakage here in the interests of increasing the default safety of users of crypto/tls seems reasonable. (CVE-2023-29409)

- The html/template package does not properly handle HTML-like comment tokens, nor hashbang #! comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack. (CVE-2023-39318)

- The html/template package does not apply the proper rules for handling occurrences of <script, <!--, and </script within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could be leveraged to perform an XSS attack. (CVE-2023-39319)

- Processing an incomplete post-handshake message for a QUIC connection can cause a panic. (CVE-2023-39321)

- QUIC connections do not set an upper bound on the amount of data buffered when reading post-handshake messages, allowing a malicious QUIC connection to cause unbounded memory growth. With fix, connections now consistently reject messages larger than 65KiB in size. (CVE-2023-39322)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

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

Plugin Details

Severity: High

ID: 187867

File Name: centos8_RHSA-2024-0121.nasl

Version: 1.0

Type: local

Agent: unix

Published: 1/10/2024

Updated: 1/10/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2022-2880

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

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

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/CentOS/release, Host/CentOS/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/10/2024

Vulnerability Publication Date: 9/6/2022

Reference Information

CVE: CVE-2022-27664, CVE-2022-2879, CVE-2022-2880, CVE-2022-41715, CVE-2023-29409, CVE-2023-39318, CVE-2023-39319, CVE-2023-39321, CVE-2023-39322

RHSA: 2024:0121