Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2023-45290

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

Overview

Published
5 Mar 2024
Modified
17 Jun 2026
Medium CVE
2 Registry packages
423 OS packages
17 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

6.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Weakness: CWE-770

Affected packages · 2

Packages affected by CVE-2023-45290
EcosystemPackageVulnerableFixed in
Bitnami golang <1.21.8>=1.22.0-0, <1.22.1 1.21.81.22.1
Go stdlib <1.21.8>=1.22.0-0, <1.22.1 1.21.81.22.1

Open a package to see all its vulnerabilities.

Operating systems · 852 fixes

Oracle Linux 2 releases · 23 packages

fixed 28
udica fuse-overlayfs crun oci-seccomp-bpf-hook slirp4netns delve +17
Oracle Linux fixes for CVE-2023-45290
ReleasePackageFixed in
8 udica 0.2.6-21.module+el8.10.0+90416+5b0f6a17
8 fuse-overlayfs 1.13-1.module+el8.10.0+90416+5b0f6a17
8 crun 1.14.3-2.module+el8.10.0+90416+5b0f6a17
8 oci-seccomp-bpf-hook 1.2.10-1.module+el8.10.0+90416+5b0f6a17
8 slirp4netns 1.2.3-1.module+el8.10.0+90416+5b0f6a17
8 delve 1.21.2-3.0.1.module+el8.10.0+90307+cdf2b281

22 more rows

Photon OS 1 release · 1 package

fixed 1
go
Photon OS fixes for CVE-2023-45290
ReleasePackageFixed in
5.0 go 1.26.3-1.ph5

Red Hat 7 releases · 36 packages

eol 1 affected 1 fixed 128 wont fix 3
golang butane rhc-worker-script etcd cri-o cri-tools +30
Red Hat fixes for CVE-2023-45290
ReleasePackageFixed inAdvisory
golang +10 eol —
7 butane +7 affected —
7 rhc-worker-script 0:0.9-5.el7_9 RHSA-2024:4893
8 etcd +20 wont fix —
8 butane +1 0:0.21.0-1.rhaos4.16.el8 RHSA-2024:0045
8 cri-o 0:1.25.5-25.rhaos4.12.git6556f50.el8 RHSA-2024:5202

127 more rows

SUSE Linux Enterprise 4 releases · 4 packages

fixed 10
go1-21 go1-22 go1-21-openssl go1-22-openssl
SUSE Linux Enterprise fixes for CVE-2023-45290
ReleasePackageFixed inAdvisory
12.5 go1-21 +1 1.21.8-1.27.1 SUSE-SU-2024:0800-1
12.5 go1-22 +1 1.22.1-1.3.1 SUSE-SU-2024:0936-1
15.4 go1-21-openssl +2 1.21.13.1-150000.1.11.1 SUSE-SU-2024:3089-1
15.4 go1-21 +2 1.21.8-150000.1.27.1 SUSE-SU-2024:0811-1
15.5 go1-21-openssl +2 1.21.13.1-150000.1.11.1 SUSE-SU-2024:3089-1
15.5 go1-21 +2 1.21.8-150000.1.27.1 SUSE-SU-2024:0811-1

4 more rows

alma 4 releases · 32 packages

fixed 38
git-lfs toolbox toolbox-tests udica fuse-overlayfs crun +26
alma fixes for CVE-2023-45290
ReleasePackageFixed in
8 git-lfs 3.4.1-2.el8_10
8 (container-tools:rhel8) toolbox 0.0.99.5-2.module_el8.10.0+3845+87b84552
8 (container-tools:rhel8) toolbox-tests 0.0.99.5-2.module_el8.10.0+3901+4b80ecd7
8 (container-tools:rhel8) udica 0.2.6-21.module_el8.10.0+3876+e55593a8
8 (container-tools:rhel8) fuse-overlayfs 1.13-1.module_el8.10.0+3792+03eaed9c
8 (container-tools:rhel8) crun 1.14.3-2.module_el8.10.0+3876+e55593a8

32 more rows

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2023-45290
ReleasePackageFixed in
3.22 go 1.22.1-r0
3.23 go 1.22.1-r0
3.24 go 1.22.1-r0
edge go 1.22.1-r0

amazon linux 1 release · 1 package

fixed 1
golang
amazon linux fixes for CVE-2023-45290
ReleasePackageFixed in
2023 golang +6 1.22.3-1.amzn2023.0.1

chainguard 1 release · 275 packages

not affected 1 fixed 274
go-1-20 pombump stakater-reloader-0-0-119 stakater-reloader-0-0-128 yam gke-gcloud-auth-plugin +269
chainguard fixes for CVE-2023-45290
ReleasePackageFixed in
go-1-20 not affected
pombump 0.0.11-r1
stakater-reloader-0-0-119 0.0.119-r5
stakater-reloader-0-0-128 0.0.128-r4
yam 0.0.2-r1
gke-gcloud-auth-plugin 0.0.2-r7

269 more rows

debian 3 releases · 3 packages

affected 3
golang-1-11 golang-1-15 golang-1-19
debian fixes for CVE-2023-45290
ReleasePackageFixed in
10 golang-1-11 affected
11 golang-1-15 affected
12 golang-1-19 affected

echo 1 release · 1 package

affected 1
golang-1-19
echo fixes for CVE-2023-45290
ReleasePackageFixed in
golang-1-19 affected

minimos 1 release · 2 packages

fixed 2
solr-operator-0-8 trigger-dev
minimos fixes for CVE-2023-45290
ReleasePackageFixed in
solr-operator-0-8 0.8.1-r1
trigger-dev 4.5.11-r1

openSUSE 1 release · 2 packages

fixed 2
go1-21 go1-22
openSUSE fixes for CVE-2023-45290
ReleasePackageFixed inAdvisory
Tumbleweed go1-21 +3 1.21.8-1.1 openSUSE-SU-2024:13756-1
Tumbleweed go1-22 +3 1.22.1-1.1 openSUSE-SU-2024:13752-1

rocky 4 releases · 24 packages

fixed 141
git-lfs toolbox udica fuse-overlayfs crun oci-seccomp-bpf-hook +18
rocky fixes for CVE-2023-45290
ReleasePackageFixed in
8 git-lfs 3.4.1-2.el8_10
8 (container-tools:rhel8) toolbox +1 0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2
8 (container-tools:rhel8) toolbox +1 0.0.99.5-2.module+el8.10.0+1825+623b0c20.rocky.0.2
8 (container-tools:rhel8) toolbox +1 0.0.99.5-2.module+el8.10.0+1829+9bb2696f.rocky.0.2
8 (container-tools:rhel8) toolbox +1 0.0.99.5-2.module+el8.10.0+1843+6892ab28.rocky.0.2
8 (container-tools:rhel8) toolbox +1 0.0.99.5-2.module+el8.10.0+1872+2e18eb19.rocky.0.2

135 more rows

root.io debian 1 release · 1 package

affected 1
rootio-golang-1-19
root.io debian fixes for CVE-2023-45290
ReleasePackageFixed in
12 rootio-golang-1-19 affected

seal Red Hat 1 release · 1 package

fixed 1
python-jinja2
seal Red Hat fixes for CVE-2023-45290
ReleasePackageFixed in
7 python-jinja2 +1 2.7.2-4.el7+sp999

ubuntu 4 releases · 3 packages

fixed 8
golang-1-18 golang-1-21 golang-1-17
ubuntu fixes for CVE-2023-45290
ReleasePackageFixed in
18.04-ESM golang-1-18 1.18.1-1ubuntu1~18.04.4+esm1
20.04 golang-1-18 1.18.1-1ubuntu1~20.04.3
20.04 golang-1-21 1.21.1-1~ubuntu20.04.3
20.04-ESM golang-1-18 1.18.1-1ubuntu1~20.04.3
20.04-ESM golang-1-21 1.21.1-1~ubuntu20.04.3
22.04 golang-1-17 1.17.13-3ubuntu1.3

2 more rows

wolfi 1 release · 203 packages

not affected 1 fixed 202
go-1-20 pombump yam gke-gcloud-auth-plugin wireguard-go local-path-provisioner +197
wolfi fixes for CVE-2023-45290
ReleasePackageFixed in
go-1-20 not affected
pombump 0.0.11-r1
yam 0.0.2-r1
gke-gcloud-auth-plugin 0.0.2-r7
wireguard-go 0.0.20230223-r8
local-path-provisioner 0.0.26-r3

197 more rows

References

Show all 35 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.