What’s Vulnerable › Vulnerabilities
CVE-2017-1000098
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2017-10-05 · updated 2026-06-17
- Weakness: CWE-769
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
- Go: before 1.6.4; from 1.7 before 1.7.4 — fixed in 1.6.4, 1.7.4
How to fix
Upgrade to a fixed version: Go 1.6.4, 1.7.4. Check the vendor advisory for mitigations.
References
- https://golang.org/cl/30410
- https://golang.org/issue/17965
- https://groups.google.com/forum/#%21msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ
- https://golang.org/cl/30410
- https://golang.org/issue/17965
- https://groups.google.com/forum/#%21msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ
Get alerted when CVE-2017-1000098 or the next vulnerability affects your stack