CVE-2017-1000098
golang: net/http: multipart ReadForm close file after copy
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-769
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | stdlib | <1.6.4>=1.7.0-0, <1.7.4 | 1.6.41.7.4 |
Open a package to see all its vulnerabilities.
Operating systems · 2 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | golang +4 | wont fix | — |
| 7 | golang +5 | 0:1.8.3-1.el7 | RHSA-2017:1859 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-1000098
- go.dev https://go.dev/cl/30410
- go.dev https://go.dev/issue/16296
- go.googlesource.com https://go.googlesource.com/go/+/7478ea5dba7ed02ddffd91c1d17ec8141f7cf184
- golang.org https://golang.org/cl/30410
- golang.org https://golang.org/issue/17965
- groups.google.com https://groups.google.com/forum/#!msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ
- groups.google.com https://groups.google.com/forum/#%21msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ
- groups.google.com https://groups.google.com/g/golang-dev/c/4NdLzS8sls8/m/uIz8QlnIBQAJ
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-1000098
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.