File Descriptor Exhaustion Affecting golang-bin package, versions <0:1.8.3-1.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.24% (63rd percentile)

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 IDSNYK-RHEL7-GOLANGBIN-4713328
  • published26 Jul 2021
  • disclosed1 Dec 2016

Introduced: 1 Dec 2016

CVE-2017-1000098  (opens in a new tab)
CWE-769  (opens in a new tab)

How to fix?

Upgrade RHEL:7 golang-bin 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-bin package and not the golang-bin 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.

CVSS Scores

version 3.1