CVE-2017-1000098 json
Denial of service when parsing large forms in mime/multipart
published 2017-10-04 9 y ago modified 2026-06-17 4 mo ago also GO-2021-0172 , EUVD-2017-1402
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
The net/http package's Request.ParseMultipartForm method starts writing to temporary files once the request body size surpasses the given "maxMemory" limit. It was possible for an attacker to generate a multipart request crafted such that the server ran out of file descriptors.
Patch / fix
- go stdlib 1.6.4, 1.7.4
- golang go 1.6.4, 1.7.4
- golang RHEL 7 1.8.3-1.el7
- golang-bin RHEL 7 1.8.3-1.el7
- golang-src RHEL 7 1.8.3-1.el7
- golang-misc RHEL 7 1.8.3-1.el7
- golang-tests RHEL 7 1.8.3-1.el7
red hat advisories RHSA-2017:1859
- go Arch Linux 2:1.8-1
arch linux advisories AVG-433
- go.googlesource.com/go/+/7478ea5dba7ed02ddffd91c1d17ec8141f7cf184 commit
- go.dev/cl/30410 patch
- golang.org/issue/17965 advisory
- golang.org/cl/30410 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-1000098 updated cvss 5.9
golang: net/http: multipart ReadForm close file after copy
-
Red Hat OpenStack Platform 8 (Liberty) Operational Tools golang, golang-src, golang-pkg-linux-amd64, golang-pkg-bin-linux-amd64 Red Hat OpenStack Platform 9 (Mitaka) Operational Tools golang, golang-bin, golang-srcaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Server Optional (v. 7) golang 1.8.3-1.el7, golang-bin 1.8.3-1.el7, golang-src 1.8.3-1.el7, golang-misc 1.8.3-1.el7, golang-tests 1.8.3-1.el7fixed: vendor fix RHSA-2017:1859
-
Red Hat OpenShift Enterprise 3 golang Red Hat OpenStack Platform 10 (Newton) Operational Tools golangnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.08% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | stdlib | <1.6.4 >=1.7.0-0, <1.7.4 |
1.6.4 1.7.4 |
Classification
- Weakness
-
- CWE-769 DEPRECATED: Uncontrolled File Descriptor Consumption
References
-
golang.org
/issue/17965
issue-tracking, patch, vendor-advisory
-
golang.org
/cl/30410
issue-tracking, patch, vendor-advisory
-
go.dev
/cl/30410
patch
-
go.googlesource.com
/go/+/7478ea5dba7ed02ddffd91c1d17ec8141f7cf184
patch
- groups.google.com /forum/#%21msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ
-
go.dev
/issue/16296
report
-
groups.google.com
/g/golang-dev/c/4NdLzS8sls8/m/uIz8QlnIBQAJ
web
Sources
- CVE List CVE-2017-1000098
- NVD CVE-2017-1000098
- OSV GO-2021-0172
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.