All reports
Medium

Improper input validation in net/http and net/http/cgi

Affected versions

Affected versions
<1.6.3
Fixed version
1.6.3
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2016-5386

Probability of exploitation in the next 30 days: 5.22%

FIRST EPSS · 2026-11-21

Description

An input validation flaw in the CGI components allows the HTTP_PROXY environment variable to be set by the incoming Proxy header, which changes where Go by default proxies all outbound HTTP requests.

This environment variable is also used to set the outgoing proxy, enabling an attacker to insert a proxy into outgoing requests of a CGI program.

Read more about "httpoxy" here: https://httpoxy.org.

Links

Credits

  • Dominic Scheirlinck