File Descriptor Exhaustion Affecting golang-src package, versions <0:1.8.3-1.el7
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RHEL7-GOLANGSRC-4732713
- published 26 Jul 2021
- disclosed 1 Dec 2016
Introduced: 1 Dec 2016
CVE-2017-1000098 Open this link in a new tabHow to fix?
Upgrade RHEL:7
golang-src
to version 0:1.8.3-1.el7 or higher.
This issue was patched in RHSA-2017:1859
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream golang-src
package and not the golang-src
package as distributed by RHEL
.
See How to fix?
for RHEL:7
relevant fixed versions and status.
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.
References
- https://golang.org/cl/30410
- https://golang.org/issue/17965
- https://groups.google.com/forum/#!msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ
- https://access.redhat.com/security/cve/CVE-2017-1000098
- https://access.redhat.com/errata/RHSA-2017:1859
- https://groups.google.com/forum/#%21msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ