Summary
The container-tools module contains tools for working with containers, notably podman, buildah, skopeo, and runc.
Security Fix(es):
* go-yaml: Improve heuristics preventing CPU/memory abuse by parsing malicious or large YAML documents (CVE-2022-3064)
* golang: html/template: improper handling of JavaScript whitespace (CVE-2023-24540)
* net/http, golang.org/x/net/http2: avoid quadratic complexity in HPACK decoding (CVE-2022-41723)
* golang: crypto/tls: large handshake records may cause panics (CVE-2022-41724)
* golang: net/http, mime/multipart: denial of service from excessive resource consumption (CVE-2022-41725)
* golang.org/x/net/html: Cross site scripting (CVE-2023-3978)
* golang: net/http, net/textproto: denial of service from excessive memory allocation (CVE-2023-24534)
* golang: net/http, net/textproto, mime/multipart: denial of service from excessive resource consumption (CVE-2023-24536)
* golang: go/parser: Infinite loop in parsing (CVE-2023-24537)
* golang: html/template: backticks not treated as string delimiters (CVE-2023-24538)
* golang: html/template: improper sanitization of CSS values (CVE-2023-24539)
* containerd: Supplementary groups are not set up properly (CVE-2023-25173)
* runc: Rootless runc makes `/sys/fs/cgroup` writable (CVE-2023-25809)
* runc: volume mount race condition (regression of CVE-2019-19921) (CVE-2023-27561)
* runc: AppArmor can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration (CVE-2023-28642)
* golang: html/template: improper handling of empty HTML attributes (CVE-2023-29400)
* golang: net/http: insufficient sanitization of Host header (CVE-2023-29406)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
Fixed packages 34
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 8 | aardvark-dns | 2:1.7.0-1.module_el8.9.0+3657+d86e192f |
| AlmaLinux · 8 | buildah | 1:1.31.3-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | buildah-tests | 1:1.31.3-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | cockpit-podman | 75-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | conmon | 3:2.1.8-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | container-selinux | 2:2.221.0-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | containernetworking-plugins | 1:1.3.0-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | containers-common | 2:1-54.module_el8.9.0+3673+0c64b403 |
| AlmaLinux · 8 | crit | 3.18-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | criu | 3.18-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | criu-devel | 3.18-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | criu-libs | 3.18-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | crun | 1.8.7-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | fuse-overlayfs | 1.12-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | libslirp | 4.4.0-1.module_el8.8.0+3615+3543c705 |
| AlmaLinux · 8 | libslirp-devel | 4.4.0-1.module_el8.8.0+3615+3543c705 |
| AlmaLinux · 8 | netavark | 2:1.7.0-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | oci-seccomp-bpf-hook | 1.2.9-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | podman | 3:4.6.1-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | podman-catatonit | 3:4.6.1-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | podman-docker | 3:4.6.1-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | podman-gvproxy | 3:4.6.1-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | podman-plugins | 3:4.6.1-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | podman-remote | 3:4.6.1-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | podman-tests | 3:4.6.1-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | python3-criu | 3.18-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | python3-podman | 4.6.0-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | runc | 1:1.1.9-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | skopeo | 2:1.13.3-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | skopeo-tests | 2:1.13.3-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | slirp4netns | 1.2.1-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | toolbox | 0.0.99.4-5.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | toolbox-tests | 0.0.99.4-5.module_el8.9.0+3643+9234dc3b |
| AlmaLinux · 8 | udica | 0.2.6-20.module_el8.8.0+3615+3543c705 |
Vulnerabilities 18
-
Critical 9.8CVE-2023-24538 Public exploit
Backticks not treated as string delimiters in html/template
Templates do not properly consider backticks (`) as Javascript string delimiters, and do not escape them as expected. Backticks are used, since ES6, for JS template literals. If a template contains a Go template action within a Javascript template literal, th…
-
Critical 9.8
Improper handling of JavaScript whitespace in html/template
Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized…
-
High 7.5
Excessive resource consumption in gopkg.in/yaml.v2
Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.
-
High 7.5
Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net
A maliciously crafted HTTP/2 stream could cause excessive CPU consumption in the HPACK decoder, sufficient to cause a denial of service from a small number of small requests.
-
High 7.5
Excessive memory allocation in net/http and net/textproto
HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service. Certain unusual patterns of input data can cause the common function used to parse HTTP and MIME headers to allocate…
-
High 7.5
Excessive resource consumption in net/http, net/textproto and mime/multipart
Multipart form parsing can consume large amounts of CPU and memory when processing form inputs containing very large numbers of parts. This stems from several causes: 1. mime/multipart.Reader.ReadForm limits the total memory a parsed multipart form can consum…
-
High 7.5
Infinite loop in parsing in go/scanner
Calling any of the Parse functions on Go source code which contains //line directives with very large line numbers can cause an infinite loop due to integer overflow.
-
High 7.3
Improper sanitization of CSS values in html/template
Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a '/' character can result in unexpectedly closing the CSS context and allowing for injection of unexpected HTML, i…
-
High 7.3
Improper handling of empty HTML attributes in html/template
Templates containing actions in unquoted HTML attributes (e.g. "attr={{.}}") executed with empty input can result in output with unexpected results when parsed due to HTML normalization rules. This may allow injection of arbitrary attributes into tags.
-
High 7.0
Opencontainers runc Incorrect Authorization vulnerability
runc through 1.1.4 has Incorrect Access Control leading to Escalation of Privileges, related to libcontainer/rootfs_linux.go. To exploit this, an attacker must be able to spawn two containers with custom volume-mount configurations, and be able to run custom …
-
Medium 6.1
AppArmor bypass with symlinked /proc in runc
runc is a CLI tool for spawning and running containers according to the OCI specification. It was found that AppArmor can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration. This issue has been fixed in runc version…
-
Medium 6.1
Improper rendering of text nodes in golang.org/x/net/html
Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.
-
Medium 5.9
opencontainers runc contains procfs race condition with a shared volume mount
runc through 1.0.0-rc9 has Incorrect Access Control leading to Escalation of Privileges, related to libcontainer/rootfs_linux.go. To exploit this, an attacker must be able to spawn two containers with custom volume-mount configurations, and be able to run cus…
-
Medium 5.3
containerd supplementary groups are not set up properly
containerd is an open source container runtime. A bug was found in containerd prior to versions 1.6.18 and 1.5.18 where supplementary groups are not set up properly inside a container. If an attacker has direct access to a container and manipulates their supp…
-
Medium 5.0
rootless: `/sys/fs/cgroup` is writable when cgroupns isn't unshared in runc
runc is a CLI tool for spawning and running containers according to the OCI specification. In affected versions it was found that rootless runc makes `/sys/fs/cgroup` writable in following conditons: 1. when runc is executed inside the user namespace, and the…
-
Unscored —
Panic on large handshake records in crypto/tls
Large handshake records may cause panics in crypto/tls. Both clients and servers may send large TLS handshake records which cause servers and clients, respectively, to panic when attempting to construct responses. This affects all TLS 1.3 clients, TLS 1.2 cli…
-
Unscored —
Excessive resource consumption in mime/multipart
A denial of service is possible from excessive resource consumption in net/http and mime/multipart. Multipart form parsing with mime/multipart.Reader.ReadForm can consume largely unlimited amounts of memory and disk files. This also affects form parsing in th…
-
Unscored —CVE-2023-29406 Public exploit
Insufficient sanitization of Host header in net/http
The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Reque…
References
-
report
https://access.redhat.com/security/cve/CVE-2022-3064
-
report
https://access.redhat.com/security/cve/CVE-2022-41723
-
report
https://access.redhat.com/security/cve/CVE-2022-41724
-
report
https://access.redhat.com/security/cve/CVE-2022-41725
-
report
https://access.redhat.com/security/cve/CVE-2023-24534
-
report
https://access.redhat.com/security/cve/CVE-2023-24536
-
report
https://access.redhat.com/security/cve/CVE-2023-24537
-
report
https://access.redhat.com/security/cve/CVE-2023-24538
-
report
https://access.redhat.com/security/cve/CVE-2023-24539
-
report
https://access.redhat.com/security/cve/CVE-2023-24540
-
report
https://access.redhat.com/security/cve/CVE-2023-25173
-
report
https://access.redhat.com/security/cve/CVE-2023-25809
-
report
https://access.redhat.com/security/cve/CVE-2023-27561
-
report
https://access.redhat.com/security/cve/CVE-2023-28642
-
report
https://access.redhat.com/security/cve/CVE-2023-29400
-
report
https://access.redhat.com/security/cve/CVE-2023-29406
-
report
https://access.redhat.com/security/cve/CVE-2023-3978
-
report
https://bugzilla.redhat.com/2163037
-
report
https://bugzilla.redhat.com/2174485
-
report
https://bugzilla.redhat.com/2175721
-
report
https://bugzilla.redhat.com/2178358
-
report
https://bugzilla.redhat.com/2178488
-
report
https://bugzilla.redhat.com/2178492
-
report
https://bugzilla.redhat.com/2182883
-
report
https://bugzilla.redhat.com/2182884
-
report
https://bugzilla.redhat.com/2184481
-
report
https://bugzilla.redhat.com/2184482
-
report
https://bugzilla.redhat.com/2184483
-
report
https://bugzilla.redhat.com/2184484
-
report
https://bugzilla.redhat.com/2196026
-
report
https://bugzilla.redhat.com/2196027
-
report
https://bugzilla.redhat.com/2196029
-
report
https://bugzilla.redhat.com/2222167
-
report
https://bugzilla.redhat.com/2228689
-
advisory
https://errata.almalinux.org/8/ALSA-2023-6939.html