VDB
Sign up
HIGH7.5

GHSA-39qc-96h7-956f

golang.org/x/net/http vulnerable to a reset flood

Quick fix

GHSA-39qc-96h7-956f — golang.org/x/net: upgrade to the fixed version with the command below.

go get golang.org/x/net@v0.0.0-20190813141303-74dc4d7220e7

Details

Some HTTP/2 implementations are vulnerable to a reset flood, potentially leading to a denial of service. Servers that accept direct connections from untrusted clients could be remotely made to allocate an unlimited amount of memory, until the program crashes. The attacker opens a number of streams and sends an invalid request over each stream that should solicit a stream of RST_STREAM frames from the peer. Depending on how the peer queues the RST_STREAM frames, this can consume excess memory, CPU, or both.

### Specific Go Packages Affected golang.org/x/net/http2

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/golang.org/x/net
Introduced in: 0Fixed in: 0.0.0-20190813141303-74dc4d7220e7
Fixgo get golang.org/x/net@v0.0.0-20190813141303-74dc4d7220e7

References