CVE-2017-1000098Golang Go
High 7.5 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 82
- Auth required
- No
- Published
- Oct 5, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-769
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.6.4 |
1.6.4 |
go get stdlib@v1.6.4 |
| Go | stdlib |
≥ 1.7.0-0 < 1.7.4 |
1.7.4 |
go get stdlib@v1.7.4 |
Per OSV / GitHub Advisories (GO-2021-0172). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.6.4 |
| golang | go | ≥ 1.7 < 1.7.4 |
Official sources
References
Links published by the sources. Open them with care.
- golang.org Issue Tracking Patch Vendor Advisory
- golang.org Issue Tracking Patch Vendor Advisory
- groups.google.com