Description
java/org/apache/catalina/core/AsyncContextImpl.java in Apache Tomcat 7.x before 7.0.40 does not properly handle the throwing of a RuntimeException in an AsyncListener in an application, which allows context-dependent attackers to obtain sensitive request information intended for other applications in opportunistic circumstances via an application that records the requests that it processes.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | tomcat7 | 7.0.28-4+deb7u1 | DSA-2897-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat JBoss Web Server 2 | apache-commons-daemon-eap6 | 1:1.0.15-4.redhat_1.ep6.el5 | RHSA-2013:1012, RHSA-2013:1011 |
| Red Hat JBoss Web Server 2 | apache-commons-daemon-jsvc-eap6 | 1:1.0.15-1.redhat_1.ep6.el5 | RHSA-2013:1012, RHSA-2013:1011 |
| Red Hat JBoss Web Server 2 | apache-commons-pool-eap6 +1 | 1.6-6.redhat_4.ep6.el5 | RHSA-2013:1012, RHSA-2013:1011 |
| Red Hat JBoss Web Server 2 | dom4j | 1.6.1-19.redhat_5.ep6.el5 | RHSA-2013:1012, RHSA-2013:1011 |
| Red Hat JBoss Web Server 2 | ecj3 | 1:3.7.2-6.redhat_1.ep6.el5 | RHSA-2013:1012, RHSA-2013:1011 |
| Red Hat JBoss Web Server 2 | httpd +3 | 2.2.22-23.ep6.el5 | RHSA-2013:1012, RHSA-2013:1011 |
| Red Hat JBoss Web Server 2 | mod_cluster +3 | 1.2.4-1.Final_redhat_1.ep6.el5 | RHSA-2013:1012, RHSA-2013:1011 |
| Red Hat JBoss Web Server 2 | mod_cluster-native | 1.2.4-1.Final.redhat_1.ep6.el5 | RHSA-2013:1012, RHSA-2013:1011 |
| Red Hat JBoss Web Server 2 | mod_jk +2 | 1.2.37-2.redhat_1.ep6.el5 | RHSA-2013:1012, RHSA-2013:1011 |
| Red Hat JBoss Web Server 2 | mod_ssl | 1:2.2.22-23.ep6.el5 | RHSA-2013:1012, RHSA-2013:1011 |
| Red Hat JBoss Web Server 2 | tomcat-native | 1.1.27-4.redhat_1.ep6.el5 | RHSA-2013:1012, RHSA-2013:1011 |
| Red Hat JBoss Web Server 2 | tomcat6 +9 | 6.0.37-8_patch_01.ep6.el5 | RHSA-2013:1012, RHSA-2013:1011 |
| Red Hat JBoss Web Server 2 | tomcat7 +9 | 7.0.40-5_patch_01.ep6.el6 | RHSA-2013:1012, RHSA-2013:1011 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 7.0.0, < 7.0.40 | 7.0.40 | GHSA-3p5r-7cw3-2m67 |
Advisories 3
- RHSA-2013:1012 Red Hat Security Advisory: Red Hat JBoss Web Server 2.0.1 update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2013:1011 Red Hat Security Advisory: Red Hat JBoss Web Server 2.0.1 update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- DSA-2897-1 tomcat7 - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://svn.apache.org/viewvc?view=revision&revision=1471372
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/AsyncContextImpl.java?r1=1471372&r2=1471371&pathrev=1471372
- https://issues.apache.org/bugzilla/show_bug.cgi?id=54178
- FEDORA-2013-7999 vendor-advisory
- http://tomcat.apache.org/security-7.html
- FEDORA-2013-7979 vendor-advisory
- 20130510 CVE-2013-2071 Request mix-up if AsyncListener method throws RuntimeException mailing-list
- USN-1841-1 vendor-advisory
- 59798 vdb-entry
- 64758 vdb-entry
- http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html
- openSUSE-SU-2013:1306 vendor-advisory
- FEDORA-2013-7993 vendor-advisory
- HPSBMU02966 vendor-advisory