QID 375598

Date Published: 2021-06-24

QID 375598: Go Denial Of Service Vulnerability

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

CVE-2021-31525: A vulnerability was found in net/http of the Go standard library when parsing very large HTTP header values, causing a crash and subsequent denial of service. This vulnerability affects both clients and servers written in Go, however servers are only vulnerable if the default 1 MB value for MaxHeaderBytes is increased.

Affected Version:
Go version before 1.15.12
Go version 1.16.x before 1.16.4

QID Detection Logic(authenticated):
This QID checks for vulnerable version of Go installed on the target.

Note: For unix target, this QID will only work if Go path is properly set in environment variable.

Successful exploitation could result in denial of service attack.

  • CVSS V3 rated as Medium - 5.9 severity.
  • CVSS V2 rated as Low - 2.6 severity.
  • Solution
    It is advised to install the latest Go version from Go download page.
    Vendor References

    CVEs related to QID 375598

    Software Advisories
    Advisory ID Software Component Link
    Go URL Logo golang.org/dl/
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report