golang: net/http: multipart ReadForm close file after copy
Published Oct 4, 2017
7.5
HIGHCVSS 3.1
EPSS 2.08%
Description
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 7
golang-0:1.8.3-1.el7
Fixed · RHSA-2017:1859
Red Hat OpenShift Enterprise 3
golang
Not affected
Red Hat OpenStack Platform 10 (Newton) Operational Tools
golang
Not affected
Red Hat OpenStack Platform 8 (Liberty) Operational Tools
golang
Will not fix
Red Hat OpenStack Platform 9 (Mitaka) Operational Tools
golang
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | golang-0:1.8.3-1.el7 | Fixed | RHSA-2017:1859 |
| Red Hat OpenShift Enterprise 3 | golang | Not affected | n/a |
| Red Hat OpenStack Platform 10 (Newton) Operational Tools | golang | Not affected | n/a |
| Red Hat OpenStack Platform 8 (Liberty) Operational Tools | golang | Will not fix | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) Operational Tools | golang | Will not fix | n/a |
stdlib
Go
Introduced 0 Fixed 1.6.4stdlib
Go
Introduced 1.7.0-0 Fixed 1.7.4
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | stdlib | 0 | 1.6.4 |
| Go | stdlib | 1.7.0-0 | 1.7.4 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.08% (0.02078) | 80.79th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.08% (0.02078) | 78.97th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.56% (0.00563) | 65.73th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.90% (0.01904) | 72.26th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.13% (0.00133) | 48.98th | v3 (v2023.03.01) |
| May 24, 2024 | 0.13% (0.00133) | 48.42th | v3 (v2023.03.01) |
| May 10, 2024 | 0.11% (0.00114) | 44.63th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.10% (0.00096) | 39.08th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.09% (0.00087) | 35.08th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.24% (0.00240) | 60.19th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Sep 2, 2022 | 0.95% (0.00954) | 34.50th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00954) | 32.50th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00954) | 16.28th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.83% (0.00833) | 24.58th | v1 |
| Jan 6, 2022 | 0.83% (0.00833) | 23.96th | v1 |
| Sep 1, 2021 | 0.83% (0.00833) | 57.50th | v1 |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (8)
- https://access.redhat.com/security/cve/CVE-2017-1000098 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1401985 Issue Tracking
- https://golang.org/cl/30410 x_refsource_CONFIRMIssue TrackingPatchVendor Advisory
- https://golang.org/issue/17965 x_refsource_CONFIRMIssue TrackingPatchVendor Advisory
- https://groups.google.com/forum/#!msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ
- https://groups.google.com/forum/#%21msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000098
- https://www.cve.org/CVERecord?id=CVE-2017-1000098
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2017-1000098 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1401985 | Issue Tracking | |
| https://golang.org/cl/30410 | x_refsource_CONFIRMIssue TrackingPatchVendor Advisory | |
| https://golang.org/issue/17965 | x_refsource_CONFIRMIssue TrackingPatchVendor Advisory | |
| https://groups.google.com/forum/#!msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ | ||
| https://groups.google.com/forum/#%21msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ | x_refsource_CONFIRM | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-1000098 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-1000098 |
Change history (0)
No recorded changes yet.