ADVISORIES

Go Vulnerability Database

GO-2021-0241

Attacker can drop certain headers in net/http/httputil

Details

ReverseProxy can be made to forward certain hop-by-hop headers, including Connection. If the target of the ReverseProxy is itself a reverse proxy, this lets an attacker drop arbitrary headers, including those set by the ReverseProxy.Director.

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.15.13 (fixed in 1.15.13)
From 1.16.0-0 before 1.16.5 (fixed in 1.16.5)

References