{"id":"CVE-2016-5386","aliases":["GO-2022-0761"],"kind":"cve","tier":"cold","status":"published","title":"Improper input validation in net/http and net/http/cgi","description":"The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect CGI applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect a CGI application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an \"httpoxy\" issue.","ai_summary":null,"severity":"high","cvss":{"score":8.1,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":8.1,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":6.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-284"],"remote":true,"remote_unauth":true,"epss":{"score":0.0522,"percentile":0.93295,"date":"2026-11-30"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"Go","name":"stdlib","affected":"< 1.6.3","fixed":["1.6.3"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade stdlib to 1.6.3 or later.","technologies":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7WGHKKCFP4PLVSWQKCM3FJJPEWB5ZNTU/","kind":"vendor"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OR52UXGM6RKSCWF3KQMVZGVZVJ3WEESJ/","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1538.html","kind":"vendor"},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html","kind":"patch"},{"url":"https://go.dev/cl/25010","kind":"patch"},{"url":"https://go.googlesource.com/go/+/b97df54c31d6c4cc2a28a3c83725366d52329223","kind":"patch"},{"url":"http://www.kb.cert.org/vuls/id/797896","kind":"other"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1353798","kind":"other"},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html","kind":"other"},{"url":"https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03770en_us","kind":"other"},{"url":"https://httpoxy.org/","kind":"other"},{"url":"https://go.dev/issue/16405","kind":"other"},{"url":"https://groups.google.com/g/golang-announce/c/7jZDOQ8f8tM/m/eWRWHnc8CgAJ","kind":"other"}],"workarounds":null,"vendors":["fedoraproject","golang","oracle","redhat"],"products":["enterprise_linux_server","enterprise_linux_server_aus","enterprise_linux_server_eus","fedora","go","linux"],"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","cpe:2.3:a:golang:go:1.7:rc1:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*","cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:*"],"published_at":"2016-07-19T01:00:00.000Z","modified_at":"2026-06-17T00:49:18.597Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-5386"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GO-2022-0761","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2016-5386","markdown":"https://flawdb.com/CVE-2016-5386.md","json":"https://flawdb.com/api/v1/entries/CVE-2016-5386"}}