CVE-2017-1000098
HIGH 7.5CVSS 3.1Denial of service when parsing large forms in mime/multipart
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.
- Published
- 5 Oct 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-769
- Also known as
- GO-2021-0172
- Sources
- NVDJSONOSV GO-2021-0172JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.6.4 | 1.6.4 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.7, < 1.7.4 | 1.7.4 |
| OSV | Go | stdlib | < 1.6.4; >= 1.7.0-0, < 1.7.4 | 1.6.4, 1.7.4 |
References
- https://golang.org/cl/30410 · Issue Tracking, Patch, Vendor Advisory
- https://golang.org/issue/17965 · Issue Tracking, Patch, Vendor Advisory
- https://groups.google.com/forum/#%21msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ
- https://go.dev/cl/30410 · FIX
- https://go.googlesource.com/go/+/7478ea5dba7ed02ddffd91c1d17ec8141f7cf184 · FIX
- https://go.dev/issue/16296 · REPORT
- https://groups.google.com/g/golang-dev/c/4NdLzS8sls8/m/uIz8QlnIBQAJ · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 5 Oct 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Feb 2022)