CVE-2023-45290

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-45290
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-45290.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-45290
Aliases
Related
Published
2024-03-05T23:15:07Z
Modified
2024-11-07T13:39:25.692106Z
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / golang-1.15

Package

Name
golang-1.15
Purl
pkg:deb/debian/golang-1.15?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.15.9-6
1.15.15-1~deb11u1
1.15.15-1~deb11u2
1.15.15-1~deb11u3
1.15.15-1~deb11u4
1.15.15-1
1.15.15-2
1.15.15-3
1.15.15-4
1.15.15-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / golang-1.19

Package

Name
golang-1.19
Purl
pkg:deb/debian/golang-1.19?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.19.8-2
1.19.9-1
1.19.10-1
1.19.10-2
1.19.11-1
1.19.12-1
1.19.12-2~bpo11+1
1.19.12-2~bpo12+1
1.19.12-2
1.19.13-1~bpo11+1
1.19.13-1~bpo12+1
1.19.13-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / golang-1.22

Package

Name
golang-1.22
Purl
pkg:deb/debian/golang-1.22?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.22.1-1

Affected versions

1.*

1.22~rc1-1
1.22~rc1-2~bpo12+1
1.22~rc1-2
1.22~rc2-1
1.22.0-1~bpo12+1
1.22.0-1
1.22.0-2~bpo12+1
1.22.0-2
1.22.1-1~bpo12+1

Ecosystem specific

{
    "urgency": "not yet assigned"
}