Race Condition Affecting std/net/http/httputil package, versions <1.15.15>=1.16.0-0 <1.16.7


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (46th 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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-STDNETHTTPHTTPUTIL-14548599
  • published6 Jan 2026
  • disclosed17 Feb 2022
  • creditAndrew Crump

Introduced: 17 Feb 2022

CVE-2021-36221  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade std/net/http/httputil to version 1.15.15, 1.16.7 or higher.

Overview

std/net/http/httputil is a Go standard library package std/net/http/httputil

Affected versions of this package are vulnerable to Race Condition.

Go Vulnerability Report:
ReverseProxy can panic after encountering a problem copying a proxied response body.

CVSS Base Scores

version 4.0
version 3.1