跳转到帖子

Alma Linux: CVE-2023-24538: Moderate: container-tools:4.0 security and bug fix update (Multiple Advisories)

recommended_posts

发布于
  • Members

Alma Linux: CVE-2023-24538: Moderate: container-tools:4.0 security and bug fix update (Multiple Advisories)

Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
04/06/2023
Created
11/17/2023
Added
11/16/2023
Modified
01/30/2025

Description

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, the contents of the action can be used to terminate the literal, injecting arbitrary Javascript code into the Go template. As ES6 template literals are rather complex, and themselves can do string interpolation, the decision was made to simply disallow Go template actions from being used inside of them (e.g. "var a = {{.}}"), since there is no obviously safe way to allow this behavior. This takes the same approach as github.com/google/safehtml. With fix, Template.Parse returns an Error when it encounters templates like this, with an ErrorCode of value 12. This ErrorCode is currently unexported, but will be exported in the release of Go 1.21. Users who rely on the previous behavior can re-enable it using the GODEBUG flag jstmpllitinterp=1, with the caveat that backticks will now be escaped. This should be used with caution.

Solution(s)

  • alma-upgrade-aardvark-dns
  • alma-upgrade-buildah
  • alma-upgrade-buildah-tests
  • alma-upgrade-cockpit-podman
  • alma-upgrade-conmon
  • alma-upgrade-container-selinux
  • alma-upgrade-containernetworking-plugins
  • alma-upgrade-containers-common
  • alma-upgrade-crit
  • alma-upgrade-criu
  • alma-upgrade-criu-devel
  • alma-upgrade-criu-libs
  • alma-upgrade-crun
  • alma-upgrade-fuse-overlayfs
  • alma-upgrade-libslirp
  • alma-upgrade-libslirp-devel
  • alma-upgrade-netavark
  • alma-upgrade-oci-seccomp-bpf-hook
  • alma-upgrade-podman
  • alma-upgrade-podman-catatonit
  • alma-upgrade-podman-docker
  • alma-upgrade-podman-gvproxy
  • alma-upgrade-podman-plugins
  • alma-upgrade-podman-remote
  • alma-upgrade-podman-tests
  • alma-upgrade-python3-criu
  • alma-upgrade-python3-podman
  • alma-upgrade-runc
  • alma-upgrade-skopeo
  • alma-upgrade-skopeo-tests
  • alma-upgrade-slirp4netns
  • alma-upgrade-toolbox
  • alma-upgrade-toolbox-tests
  • alma-upgrade-udica

References

  • https://attackerkb.com/topics/cve-2023-24538
  • CVE - 2023-24538
  • https://errata.almalinux.org/8/ALSA-2023-6938.html
  • https://errata.almalinux.org/8/ALSA-2023-6939.html
  • https://errata.almalinux.org/9/ALSA-2023-6346.html
  • https://errata.almalinux.org/9/ALSA-2023-6363.html
  • https://errata.almalinux.org/9/ALSA-2023-6402.html
  • https://errata.almalinux.org/9/ALSA-2023-6473.html
  • https://errata.almalinux.org/9/ALSA-2023-6474.html
View more
  • 查看数 695
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。
注意:你的帖子需要版主批准后才能看到。

游客
回帖…