ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2022-32148

Details

Improper exposure of client IP addresses in net/http before Go 1.17.12 and Go 1.18.4 can be triggered by calling httputil.ReverseProxy.ServeHTTP with a Request.Header map containing a nil value for the X-Forwarded-For header, which causes ReverseProxy to set the client IP as the value of the X-Forwarded-For header.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSgolang-1.13
All versions before 1.13.8-1ubuntu1~16.04.3+esm3 (fixed in 1.13.8-1ubuntu1~16.04.3+esm3)
Ubuntu:18.04:LTSgolang-1.18
All versions before 1.18.1-1ubuntu1~18.04.4 (fixed in 1.18.1-1ubuntu1~18.04.4)
Ubuntu:Pro:18.04:LTSgolang-1.13
All versions before 1.13.8-1ubuntu1~18.04.4+esm1 (fixed in 1.13.8-1ubuntu1~18.04.4+esm1)
Ubuntu:Pro:18.04:LTSgolang-1.16
All versions before 1.16.2-0ubuntu1~18.04.2+esm1 (fixed in 1.16.2-0ubuntu1~18.04.2+esm1)
Ubuntu:20.04:LTSgolang-1.13
All versions before 1.13.8-1ubuntu1.2 (fixed in 1.13.8-1ubuntu1.2)
Ubuntu:20.04:LTSgolang-1.16
All versions before 1.16.2-0ubuntu1~20.04.1 (fixed in 1.16.2-0ubuntu1~20.04.1)
Ubuntu:20.04:LTSgolang-1.18
All versions before 1.18.1-1ubuntu1~20.04.2 (fixed in 1.18.1-1ubuntu1~20.04.2)
Ubuntu:22.04:LTSgolang-1.13
All versions before 1.13.8-1ubuntu2.22.04.2 (fixed in 1.13.8-1ubuntu2.22.04.2)
Ubuntu:22.04:LTSgolang-1.18
All versions before 1.18.1-1ubuntu1.1 (fixed in 1.18.1-1ubuntu1.1)

References