Live threats

All CVEs / Golang

CVE-2017-1000098Golang Go

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
golanggo< 1.6.4
golanggo≥ 1.7 < 1.7.4

Official sources

References

Links published by the sources. Open them with care.