CVE-2016-8745

NameCVE-2016-8745
DescriptionA bug in the error handling of the send file code for the NIO HTTP connector in Apache Tomcat 9.0.0.M1 to 9.0.0.M13, 8.5.0 to 8.5.8, 8.0.0.RC1 to 8.0.39, 7.0.0 to 7.0.73 and 6.0.16 to 6.0.48 resulted in the current Processor object being added to the Processor cache multiple times. This in turn meant that the same Processor could be used for concurrent requests. Sharing a Processor can result in information leakage between requests including, not not limited to, session ID and the response body. The bug was first noticed in 8.5.x onwards where it appears the refactoring of the Connector code for 8.5.x onwards made it more likely that the bug was observed. Initially it was thought that the 8.5.x refactoring introduced the bug but further investigation has shown that the bug is present in all currently supported Tomcat versions.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-779-1, DSA-3754-1, DSA-3755-1
Debian Bugs802312

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tomcat6 (PTS)wheezy6.0.45+dfsg-1~deb7u1fixed
wheezy (security)6.0.45+dfsg-1~deb7u5fixed
jessie, jessie (security)6.0.45+dfsg-1~deb8u1fixed
tomcat7 (PTS)wheezy7.0.28-4+deb7u4vulnerable
wheezy (security)7.0.28-4+deb7u14fixed
jessie, jessie (security)7.0.56-3+deb8u11fixed
stretch7.0.75-1fixed
buster, sid7.0.78-1fixed
tomcat8 (PTS)jessie, jessie (security)8.0.14-1+deb8u10fixed
stretch, stretch (security)8.5.14-1+deb9u1fixed
buster, sid8.5.16-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tomcat6source(unstable)6.0.41-3
tomcat7source(unstable)7.0.72-3
tomcat7sourcejessie7.0.56-3+deb8u7DSA-3754-1
tomcat7sourcewheezy7.0.28-4+deb7u9DLA-779-1
tomcat8source(unstable)8.5.9-1
tomcat8sourcejessie8.0.14-1+deb8u6DSA-3755-1
tomcat9ITP802312

Notes

Since 7.0.72-3, src:tomcat7 only builds the Servlet API
Since 6.0.41-3, src:tomcat6 only builds a servlet and docs in Jessie
https://bz.apache.org/bugzilla/show_bug.cgi?id=60409
Fixed by: http://svn.apache.org/r1777469 (8.0.x)
Fixed by: http://svn.apache.org/r1777471 (7.0.x)
Fixed by: http://svn.apache.org/r1777472 (6.0.x)

Search for package or bug name: Reporting problems