ADVISORIES

Red Hat VEX

RHVEX-CVE-2023-45290

golang: net/http: golang: mime/multipart: golang: net/textproto: memory exhaustion in Request.ParseMultipartForm

Moderate No fix available CVE-2023-45290

Details

A flaw was discovered in Go's net/http standard library package. When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion. With fix, the ParseMultipartForm function now correctly limits the maximum size of form lines.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8grafana
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-azure-monitor
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-cloudwatch
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-elasticsearch
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-graphite
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-influxdb
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-loki
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-mssql
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-mysql
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-opentsdb
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-postgres
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-prometheus
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-selinux
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-stackdriver
All versions, no fix yet
Red Hat:enterprise_linux:8osbuild-composer
All versions, will not be fixed
Red Hat:enterprise_linux:8osbuild-composer-core
All versions, will not be fixed
Red Hat:enterprise_linux:8osbuild-composer-dnf-json
All versions, will not be fixed
Red Hat:enterprise_linux:8osbuild-composer-worker
All versions, will not be fixed
Red Hat:enterprise_linux:8toolbox
All versions, will not be fixed
Red Hat:enterprise_linux:8toolbox-tests
All versions, will not be fixed
Red Hat:enterprise_linux:8weldr-client
All versions, will not be fixed
Red Hat:enterprise_linux:9butane
All versions, will not be fixed
Red Hat:enterprise_linux:9grafana
All versions, no fix yet
Red Hat:enterprise_linux:9grafana-selinux
All versions, no fix yet
Red Hat:enterprise_linux:9ignition
All versions, will not be fixed
Red Hat:enterprise_linux:9ignition-edge
All versions, will not be fixed
Red Hat:enterprise_linux:9ignition-grub
All versions, will not be fixed
Red Hat:enterprise_linux:9ignition-validate
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer-core
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer-dnf-json
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer-worker
All versions, will not be fixed
Red Hat:enterprise_linux:9skopeo
All versions, no fix yet
Red Hat:enterprise_linux:9skopeo-tests
All versions, no fix yet
Red Hat:enterprise_linux:9weldr-client
All versions, will not be fixed

References