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


Severity

0.0
medium
0
10

    Threat Intelligence

    EPSS
    0.13% (49th 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 ID SNYK-RHEL7-GOLANGSRC-5190577
  • published 26 Jul 2021
  • disclosed 1 Dec 2016

How 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.

CVSS Scores

version 3.1
Expand this section

Snyk

5.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

NVD

7.5 high
Expand this section

Red Hat

5.9 medium