CVE-2020-9484
Potential remote code execution in Apache Tomcat
Description
When using Apache Tomcat versions 10.0.0-M1 to 10.0.0-M4, 9.0.0.M1 to 9.0.34, 8.5.0 to 8.5.54 and 7.0.0 to 7.0.103 if a) an attacker is able to control the contents and name of a file on the server; and b) the server is configured to use the PersistenceManager with a FileStore; and c) the PersistenceManager is configured with sessionAttributeValueClassNameFilter="null" (the default unless a SecurityManager is used) or a sufficiently lax filter to allow the attacker provided object to be deserialized; and d) the attacker knows the relative file path from the storage location used by FileStore to the file the attacker has control over; then, using a specifically crafted request, the attacker will be able to trigger remote code execution via deserialization of the file under their control. Note that all of conditions a) to d) must be true for the attack to succeed.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.tomcat » tomcat-catalina | >= 7.0.0, < 7.0.104>= 8.0.0, < 8.5.55>= 9.0.0, < 9.0.35>= 10.0.0-M1, < 10.0.0-M5 | 7.0.104, 8.5.55, 9.0.35, 10.0.0-M5 |
| org.apache.tomcat.embed » tomcat-embed-core | >= 7.0.0, < 7.0.104>= 8.0.0, < 8.5.55>= 9.0.0, < 9.0.35>= 10.0.0-M1, < 10.0.0-M5 | 7.0.104, 8.5.55, 9.0.35, 10.0.0-M5 |
Blast radius
64% of the dependent artifacts (10,778) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 15,058 |
| 2 hops | 17,798 |
| 3 hops | 296,305 |
| 4 hops | 344,739 |
| 5 hops | 200,173 |
| 6 hops | 41,502 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.wso2.carbon » org.wso2.carbon.core1,598 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.thrift » libthrift1,388 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- org.springframework.boot » spring-boot-starter-thymeleaf1,158 usages
- org.apache.flink » flink-streaming-java982 usages
- org.apache.hbase » hbase-client960 usages
- org.springframework.boot » spring-boot-starter-tomcat901 usages
- org.apache.spark » spark-mllib831 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2020-9484
- Webhttps://github.com/apache/tomcat/commit/3aa8f28db7efb311cdd1b6fe15a9cd3b167a2222.patch
- Webhttps://github.com/apache/tomcat/commit/4785433a226a20df6acbea49296e1ce7e23de453
- Webhttps://github.com/apache/tomcat/commit/6d66e99ef85da93e4d2c2a536ca51aa3418bfaf4
- Webhttps://github.com/apache/tomcat/commit/74b105657ffbd1d1de80455f03446c3bbf30d1f5
- Webhttps://github.com/apache/tomcat/commit/93f0cc403a9210d469afc2bd9cf03ab3251c6f35
- Webhttps://github.com/apache/tomcat/commit/bb33048e3f9b4f2b70e4da2e6c4e34ca89023b1b
- Webhttps://www.oracle.com/security-alerts/cpuoct2021.html
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WJ7XHKWJWDNWXUJH6UB7CLIW4TWOZ26N
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GIQHXENTLYUNOES4LXVNJ2NCUQQRF5VJ
- Webhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WJ7XHKWJWDNWXUJH6UB7CLIW4TWOZ26N
- Webhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GIQHXENTLYUNOES4LXVNJ2NCUQQRF5VJ
- Webhttps://lists.debian.org/debian-lts-announce/2020/07/msg00010.html
- Webhttps://lists.debian.org/debian-lts-announce/2020/05/msg00026.html
- Webhttps://lists.debian.org/debian-lts-announce/2020/05/msg00020.html
- Webhttps://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cdev.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cannounce.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cannounce.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cusers.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cdev.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cannounce.tomcat.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cannounce.apache.org%3E
- Webhttps://www.oracle.com/security-alerts/cpuoct2020.html
- Webhttps://www.oracle.com/security-alerts/cpujul2022.html
- Webhttps://www.oracle.com/security-alerts/cpujul2020.html
- Webhttps://www.oracle.com/security-alerts/cpujan2022.html
- Webhttps://www.oracle.com/security-alerts/cpujan2021.html
- Webhttps://www.oracle.com/security-alerts/cpuApr2021.html
- Webhttps://www.oracle.com//security-alerts/cpujul2021.html
- Webhttps://www.debian.org/security/2020/dsa-4727
- Webhttps://usn.ubuntu.com/4596-1
- Webhttps://usn.ubuntu.com/4448-1
- Webhttps://tomcat.apache.org/security-9.html
- Webhttps://tomcat.apache.org/security-8.html
- Webhttps://tomcat.apache.org/security-7.html
- Webhttps://tomcat.apache.org/security-10.html
- Webhttps://security.netapp.com/advisory/ntap-20200528-0005
- Webhttps://security.gentoo.org/glsa/202006-21
- Webhttps://lists.apache.org/thread.html/r8dd19c514face6dd85fd4eab0271854883f40c7307926c1f7cd5400c@%3Ccommits.tomee.apache.org%3E
