CVE-2016-5388

NameCVE-2016-5388
DescriptionApache Tomcat 7.x through 7.0.70 and 8.x through 8.5.4, when the CGI Servlet is enabled, follows RFC 3875 section 4.1.18 and therefore does not protect applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect an application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an "httpoxy" issue. NOTE: the vendor states "A mitigation is planned for future releases of Tomcat, tracked as CVE-2016-5388"; in other words, this is not a CVE ID for a vulnerability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1883-1, ELA-153-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tomcat6 (PTS)jessie, jessie (lts)6.0.45+dfsg-1~deb8u1fixed
tomcat7 (PTS)jessie, jessie (lts)7.0.56-3+really7.0.109-1+deb8u5fixed
stretch7.0.75-1fixed
tomcat8 (PTS)jessie, jessie (lts)8.0.14-1+deb8u27fixed
stretch (security)8.5.54-0+deb9u8fixed
stretch (lts), stretch8.5.54-0+deb9u14fixed
tomcat9 (PTS)buster9.0.31-1~deb10u6fixed
buster (security)9.0.31-1~deb10u11fixed
bullseye (security), bullseye9.0.43-2~deb11u9fixed
sid, trixie, bookworm9.0.70-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tomcat6source(unstable)6.0.41-3
tomcat7sourcewheezy7.0.28-4+deb7u22ELA-153-1
tomcat7sourcejessie7.0.56-3+really7.0.88-1
tomcat7source(unstable)7.0.72-1
tomcat8sourcejessie8.0.14-1+deb8u15DLA-1883-1
tomcat8source(unstable)8.0.37-1
tomcat9source(unstable)(not affected)

Notes

- tomcat9 <not-affected> (Fixed before initial upload to Debian)
Since 6.0.41-3, src:tomcat6 only builds a servlet and docs
The Tomcat CGI servlet sets HTTP_PROXY based on a Proxy: header.
This CVE was special since not assigned to a vulnerability but for a mitigation
thus marking as fixed for 8.0.37 and 7.0.71 (upstream) and with according
versions in Debian.
https://svn.apache.org/r1756941 (8.0.x)
https://svn.apache.org/r1756942 (7.0.x)

Search for package or bug name: Reporting problems