Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2023-24536: Important: go-toolset and golang security update (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2023-24536: Important: go-toolset and golang security update (Multiple Advisories)



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 consume. ReadForm can undercount the amount of memory consumed, leading it to accept larger inputs than intended. 2. Limiting total memory does not account for increased pressure on the garbage collector from large numbers of small allocations in forms with many parts. 3. ReadForm can allocate a large number of short-lived buffers, further increasing pressure on the garbage collector. The combination of these factors can permit an attacker to cause an program that parses multipart forms to consume large amounts of CPU and memory, potentially resulting in a denial of service. This affects programs that use mime/multipart.Reader.ReadForm, as well as form parsing in the net/http package with the Request methods FormFile, FormValue, ParseMultipartForm, and PostFormValue. With fix, ReadForm now does a better job of estimating the memory consumption of parsed forms, and performs many fewer short-lived allocations. In addition, the fixed mime/multipart.Reader imposes the following limits on the size of parsed forms: 1. Forms parsed with ReadForm may contain no more than 1000 parts. This limit may be adjusted with the environment variable GODEBUG=multipartmaxparts=. 2. Form parts parsed with NextPart and NextRawPart may contain no more than 10,000 header fields. In addition, forms parsed with ReadForm may contain no more than 10,000 header fields across all parts. This limit may be adjusted with the environment variable GODEBUG=multipartmaxheaders=.


  • redhat-upgrade-aardvark-dns
  • redhat-upgrade-buildah
  • redhat-upgrade-buildah-debuginfo
  • redhat-upgrade-buildah-debugsource
  • redhat-upgrade-buildah-tests
  • redhat-upgrade-buildah-tests-debuginfo
  • redhat-upgrade-cockpit-podman
  • redhat-upgrade-conmon
  • redhat-upgrade-conmon-debuginfo
  • redhat-upgrade-conmon-debugsource
  • redhat-upgrade-container-selinux
  • redhat-upgrade-containernetworking-plugins
  • redhat-upgrade-containernetworking-plugins-debuginfo
  • redhat-upgrade-containernetworking-plugins-debugsource
  • redhat-upgrade-containers-common
  • redhat-upgrade-crit
  • redhat-upgrade-criu
  • redhat-upgrade-criu-debuginfo
  • redhat-upgrade-criu-debugsource
  • redhat-upgrade-criu-devel
  • redhat-upgrade-criu-libs
  • redhat-upgrade-criu-libs-debuginfo
  • redhat-upgrade-crun
  • redhat-upgrade-crun-debuginfo
  • redhat-upgrade-crun-debugsource
  • redhat-upgrade-delve
  • redhat-upgrade-delve-debuginfo
  • redhat-upgrade-delve-debugsource
  • redhat-upgrade-fuse-overlayfs
  • redhat-upgrade-fuse-overlayfs-debuginfo
  • redhat-upgrade-fuse-overlayfs-debugsource
  • redhat-upgrade-go-toolset
  • redhat-upgrade-golang
  • redhat-upgrade-golang-bin
  • redhat-upgrade-golang-docs
  • redhat-upgrade-golang-misc
  • redhat-upgrade-golang-race
  • redhat-upgrade-golang-src
  • redhat-upgrade-golang-tests
  • redhat-upgrade-libslirp
  • redhat-upgrade-libslirp-debuginfo
  • redhat-upgrade-libslirp-debugsource
  • redhat-upgrade-libslirp-devel
  • redhat-upgrade-netavark
  • redhat-upgrade-oci-seccomp-bpf-hook
  • redhat-upgrade-oci-seccomp-bpf-hook-debuginfo
  • redhat-upgrade-oci-seccomp-bpf-hook-debugsource
  • redhat-upgrade-podman
  • redhat-upgrade-podman-catatonit
  • redhat-upgrade-podman-catatonit-debuginfo
  • redhat-upgrade-podman-debuginfo
  • redhat-upgrade-podman-debugsource
  • redhat-upgrade-podman-docker
  • redhat-upgrade-podman-gvproxy
  • redhat-upgrade-podman-gvproxy-debuginfo
  • redhat-upgrade-podman-plugins
  • redhat-upgrade-podman-plugins-debuginfo
  • redhat-upgrade-podman-remote
  • redhat-upgrade-podman-remote-debuginfo
  • redhat-upgrade-podman-tests
  • redhat-upgrade-python3-criu
  • redhat-upgrade-python3-podman
  • redhat-upgrade-runc
  • redhat-upgrade-runc-debuginfo
  • redhat-upgrade-runc-debugsource
  • redhat-upgrade-skopeo
  • redhat-upgrade-skopeo-debuginfo
  • redhat-upgrade-skopeo-debugsource
  • redhat-upgrade-skopeo-tests
  • redhat-upgrade-slirp4netns
  • redhat-upgrade-slirp4netns-debuginfo
  • redhat-upgrade-slirp4netns-debugsource
  • redhat-upgrade-toolbox
  • redhat-upgrade-toolbox-debuginfo
  • redhat-upgrade-toolbox-debugsource
  • redhat-upgrade-toolbox-tests
  • redhat-upgrade-udica

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center