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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Apache Tomcat | Apache Tomcat 10.0.0-M1 to 10.0.0-M4, 9.0.0.M1 to 9.0.34, 8.5.0 to 8.5.54, 7.0.0 to 7.0.103 | — |
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 14 | tomcat9 | 9.0.35-1 | — |
| Debian 13 | tomcat9 | 9.0.35-1 | — |
| Debian 12 | tomcat9 | 9.0.35-1 | — |
| Debian 10 | tomcat9 | 9.0.31-1~deb10u2 | DSA-4727-1 |
| Debian 9 | tomcat8 | 8.5.54-0+deb9u2 | DLA-2279-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | tomcat7 | 7.0.56-3+really7.0.100-1+deb8u1 | DLA-2217-1 |
| Debian 8 | tomcat8 | 8.0.14-1+deb8u17 | DLA-2209-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | tomcat9 | 9.0.31-1ubuntu0.1 | USN-6943-1, USN-5360-1, USN-4596-1 |
| Ubuntu 18.04 LTS | tomcat9 | 9.0.16-3ubuntu0.18.04.2 | USN-5360-1 |
| Ubuntu 16.04 LTS | tomcat8 | 8.0.32-1ubuntu1.13 | USN-4448-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | tomcat9 | 9.0.58-1ubuntu0.1+esm2 | USN-6943-1 |
| Ubuntu Pro 18.04 LTS | tomcat7 | 7.0.78-1ubuntu0.1~esm1 | USN-6908-1 |
| Ubuntu Pro 18.04 LTS | tomcat8 | 8.5.39-1ubuntu1~18.04.3+esm2 | USN-6943-1 |
| Ubuntu Pro 18.04 LTS | tomcat9 | 9.0.16-3ubuntu0.18.04.2+esm2 | USN-6943-1 |
| Ubuntu Pro 16.04 LTS | tomcat7 | 7.0.68-1ubuntu0.4+esm2 | USN-6908-1 |
| Ubuntu Pro 16.04 LTS | tomcat8 | 8.0.32-1ubuntu1.13+esm1 | USN-6943-1 |
| Ubuntu Pro 14.04 LTS | tomcat7 | 7.0.52-1ubuntu0.16+esm1 | USN-6908-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | tomcat +9 | 7.0.76-12.el7_8 | RHSA-2020:2530 |
| RHEL 6 | tomcat6 +8 | 6.0.24-115.el6_10 | RHSA-2020:2529 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat JBoss Web Server 5 | jws5-tomcat +9 | 9.0.30-4.redhat_5.1.el6jws | RHSA-2020:2506 |
| Red Hat JBoss Web Server 5 | jws5-tomcat-native | 1.2.23-5.redhat_5.el6jws | RHSA-2020:2506 |
| Red Hat JBoss Web Server 3 | tomcat-native | 1.2.23-22.redhat_22.ep7.el6 | RHSA-2020:2483 |
| Red Hat JBoss Web Server 3 | tomcat7 +11 | 7.0.70-40.ep7.el6 | RHSA-2020:2483 |
| Red Hat JBoss Web Server 3 | tomcat8 +11 | 8.0.36-44.ep7.el6 | RHSA-2020:2483 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | tomcat | 9.0.35-4.30.2 | SUSE-SU-2020:1363-1 |
| SLES 15 | tomcat | 9.0.35-3.52.2 | SUSE-SU-2020:1364-1 |
| SLES 12 SP5 | tomcat | 9.0.35-3.32.1 | SUSE-SU-2020:1365-1 |
| SLES 12 SP4 | tomcat | 9.0.35-3.32.1 | SUSE-SU-2020:1365-1 |
| SLES 12 SP3 | tomcat | 8.0.53-29.27.1 | SUSE-SU-2020:1498-1 |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | tomcat | 8.0.53-29.27.1 | SUSE-SU-2020:1498-1 |
| SLES 12 SP1 | tomcat | 8.0.53-10.43.1 | SUSE-SU-2020:1497-1 |
| SLES 11 SP4 | tomcat6 | 6.0.53-0.57.16.1 | SUSE-SU-2020:14375-1 |
| SLES for SAP 15 | tomcat | 9.0.35-3.52.2 | SUSE-SU-2020:1364-1 |
| SLES for SAP 12 SP5 | tomcat | 9.0.35-3.32.1 | SUSE-SU-2020:1365-1 |
| SLES for SAP 12 SP4 | tomcat | 9.0.35-3.32.1 | SUSE-SU-2020:1365-1 |
| SLES for SAP 12 SP3 | tomcat | 8.0.53-29.27.1 | SUSE-SU-2020:1498-1 |
| SLES for SAP 12 SP2 | tomcat | 8.0.53-29.27.1 | SUSE-SU-2020:1498-1 |
| SLES for SAP 12 SP1 | tomcat | 8.0.53-10.43.1 | SUSE-SU-2020:1497-1 |
| SLE HPC 15 | tomcat | 9.0.35-3.52.2 | SUSE-SU-2020:1364-1 |
| SUSE OpenStack Cloud Crowbar 8 | tomcat | 8.0.53-29.27.1 | SUSE-SU-2020:1498-1 |
| SUSE OpenStack Cloud 8 | tomcat | 8.0.53-29.27.1 | SUSE-SU-2020:1498-1 |
| SUSE OpenStack Cloud 7 | tomcat | 8.0.53-29.27.1 | SUSE-SU-2020:1498-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | tomcat6 | 6.0.53-0.57.16.1 | SUSE-SU-2020:14375-1 |
| SUSE HPE Helion OpenStack 8 | tomcat | 8.0.53-29.27.1 | SUSE-SU-2020:1498-1 |
| SUSE Enterprise Storage 5 | tomcat | 8.0.53-29.27.1 | SUSE-SU-2020:1498-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tomcat | 9.0.36-8.4 | openSUSE-SU-2024:11468-1 |
| openSUSE Tumbleweed | tomcat10 | 10.1.14-1.1 | openSUSE-SU-2024:13441-1 |
| openSUSE Leap 15.1 | tomcat | 9.0.35-lp151.3.18.1 | openSUSE-SU-2020:0711-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | tomcat +9 | 7.0.76-10.amzn2.0.2 | ALAS2-2020-1449 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | tomcat +9 | 7.0.76-12.el7_8 | ELSA-2020-2530 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 17 repositories · most starred shown
-
threedr3am/tomcat-cluster-session-sync-exp ★ 214 · May 19, 2020
tomcat使用了自带session同步功能时,不安全的配置(没有使用EncryptInterceptor)导致存在的反序列化漏洞,通过精心构造的数据包, 可以对使用了tomcat自带session同步功能的服务器进行攻击。PS:这个不是CVE-2020-9484,9484是session持久化的洞,这个是session集群同步的洞!
-
masahiro331/CVE-2020-9484 ★ 125 · May 21, 2020
-
IdealDreamLast/CVE-2020-9484 ★ 52 · May 21, 2020
用Kali 2.0复现Apache Tomcat Session反序列化代码执行漏洞
-
PenTestical/CVE-2020-9484 ★ 35 · Dec 31, 2020
-
0dayCTF/CVE-2020-9484 ★ 27 · Sep 16, 2024
Remake of CVE-2020-9484 by Pentestical
-
d3fudd/CVE-2020-9484_Exploit ★ 17 · Nov 14, 2022
Exploit for Apache Tomcat deserialization (CVE-2020-9484) which could lead to RCE
-
VICXOR/CVE-2020-9484 ★ 13 · Feb 10, 2021
POC for CVE-2020-9484
-
RepublicR0K/CVE-2020-9484 ★ 6 · May 18, 2021
Apache Tomcat RCE (CVE-2020-9484)
-
anjai94/CVE-2020-9484-exploit ★ 6 · Sep 5, 2020
-
ColdFusionX/CVE-2020-9484 ★ 5 · Feb 11, 2022
POC - Apache Tomcat Deserialization Vulnerability (CVE-2020-9484)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Apache Tomcat Remote Command Execution http/cves/2020/CVE-2020-9484.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat-catalina | >= 10.0.0-M1, < 10.0.0-M5 | 10.0.0-M5 | GHSA-344f-f5vg-2jfj |
| Maven | org.apache.tomcat:tomcat-catalina | >= 9.0.0, < 9.0.35 | 9.0.35 | GHSA-344f-f5vg-2jfj |
| Maven | org.apache.tomcat:tomcat-catalina | >= 8.0.0, < 8.5.55 | 8.5.55 | GHSA-344f-f5vg-2jfj |
| Maven | org.apache.tomcat:tomcat-catalina | >= 7.0.0, < 7.0.104 | 7.0.104 | GHSA-344f-f5vg-2jfj |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 10.0.0-M1, < 10.0.0-M5 | 10.0.0-M5 | GHSA-344f-f5vg-2jfj |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.0, < 9.0.35 | 9.0.35 | GHSA-344f-f5vg-2jfj |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.0.0, < 8.5.55 | 8.5.55 | GHSA-344f-f5vg-2jfj |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 7.0.0, < 7.0.104 | 7.0.104 | GHSA-344f-f5vg-2jfj |
Advisories 30
- WID-SEC-2022-0432 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2022-0302 Xerox FreeFlow Print Server: Mehrere Schwachstellen ermöglichen Ausführen von beliebigem Programmcode mit Administratorrechten BSI CERT-Bund (WID) · Oct 11, 2026
- RHSA-2020:2530 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Oct 2, 2026
- RHSA-2020:2506 Red Hat Security Advisory: Red Hat JBoss Web Server 5.3.1 security update Red Hat Security Advisories (RHSA) · Oct 2, 2026
- RHSA-2020:2529 Red Hat Security Advisory: tomcat6 security update Red Hat Security Advisories (RHSA) · Oct 2, 2026
- RHSA-2020:2483 Red Hat Security Advisory: Red Hat JBoss Web Server 3.1 Service Pack 9 security update Red Hat Security Advisories (RHSA) · Oct 2, 2026
- WID-SEC-2022-0607 Red Hat FUSE: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 9, 2026
- USN-6908-1 tomcat vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- USN-6943-1 tomcat8, tomcat9 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-5360-1 tomcat9 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-4596-1 tomcat9 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-4448-1 tomcat8 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-4727-1 tomcat9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2217-1 tomcat7 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2279-1 tomcat8 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2209-1 tomcat8 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2020:1365-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1363-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0711-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1364-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:14375-1 Security update for tomcat6 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11468-1 tomcat-9.0.36-8.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1497-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1498-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13441-1 tomcat10-10.1.14-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2026-0205 Oracle MySQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 25, 2026
- WID-SEC-2022-1870 Apache Tomcat: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode mit den Rechten des Dienstes BSI CERT-Bund (WID) · Jan 25, 2026
- NCSC-2025-0123 Kwetsbaarheden verholpen in Oracle Database Producten NCSC-NL (Netherlands) · Apr 16, 2025
- ALAS2-2020-1449 Important: tomcat security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 1, 2020
- ELSA-2020-2530 Important: tomcat security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 11, 2020
References
- [tomcat-users] 20200521 Re: [SECURITY] CVE-2020-9484 Apache Tomcat Remote Code Execution via session persistence mailing-list
- [debian-lts-announce] 20200523 [SECURITY] [DLA 2217-1] tomcat7 security update mailing-list
- [tomcat-users] 20200524 Re: [SECURITY] CVE-2020-9484 Apache Tomcat Remote Code Execution via session persistence mailing-list
- openSUSE-SU-2020:0711 vendor-advisory
- [tomcat-dev] 20200527 Re: [SECURITY] CVE-2020-9484 Apache Tomcat Remote Code Execution via session persistence mailing-list
- [debian-lts-announce] 20200528 [SECURITY] [DLA 2209-1] tomcat8 security update mailing-list
- 20200602 [CVE-2020-9484] Apache Tomcat RCE via PersistentManager mailing-list
- GLSA-202006-21 vendor-advisory
- FEDORA-2020-ce396e7d5c vendor-advisory
- FEDORA-2020-d9169235a8 vendor-advisory
- [tomcat-dev] 20200625 svn commit: r1879208 - in /tomcat/site/trunk: docs/security-10.html docs/security-8.html docs/security-9.html xdocs/security-10.xml xdocs/security-8.xml xdocs/security-9.xml mailing-list
- [debian-lts-announce] 20200712 [SECURITY] [DLA 2279-1] tomcat8 security update mailing-list
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://lists.apache.org/thread.html/r77eae567ed829da9012cadb29af17f2df8fa23bf66faf88229857bb1%40%3Cannounce.tomcat.apache.org%3E
- https://security.netapp.com/advisory/ntap-20200528-0005/
- http://packetstormsecurity.com/files/157924/Apache-Tomcat-CVE-2020-9484-Proof-Of-Concept.html
- DSA-4727 vendor-advisory
- USN-4448-1 vendor-advisory
- [tomee-commits] 20201013 [jira] [Created] (TOMEE-2909) Impact of security vulnerability(CVE-2020-9484) on TOMEE plus (7.0.7) mailing-list
- [tomee-commits] 20201013 [jira] [Updated] (TOMEE-2909) Impact of security vulnerability(CVE-2020-9484) on TOMEE plus (7.0.7) mailing-list
- [tomee-commits] 20201013 [jira] [Assigned] (TOMEE-2909) Impact of security vulnerability(CVE-2020-9484) on TOMEE plus (7.0.7) mailing-list
- [tomee-commits] 20201013 [jira] [Commented] (TOMEE-2909) Impact of security vulnerability(CVE-2020-9484) on TOMEE plus (7.0.7) mailing-list
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://kc.mcafee.com/corporate/index?page=content&id=SB10332
- USN-4596-1 vendor-advisory
- https://www.oracle.com/security-alerts/cpujan2021.html
- [tomcat-dev] 20210301 [SECURITY] CVE-2021-25329 Apache Tomcat Incomplete fix for CVE-2020-9484 (RCE via session persistence) mailing-list
- [announce] 20210301 [SECURITY] CVE-2021-25329 Apache Tomcat Incomplete fix for CVE-2020-9484 (RCE via session persistence) mailing-list
- [tomcat-users] 20210301 [SECURITY] CVE-2021-25329 Apache Tomcat Incomplete fix for CVE-2020-9484 (RCE via session persistence) mailing-list
- [tomcat-dev] 20210301 svn commit: r1887027 - in /tomcat/site/trunk: docs/security-10.html docs/security-7.html docs/security-8.html docs/security-9.html xdocs/security-10.xml xdocs/security-7.xml xdocs/security-8.xml xdocs/security-9.xml mailing-list
- [tomcat-announce] 20210301 [SECURITY] CVE-2021-25329 Apache Tomcat Incomplete fix for CVE-2020-9484 (RCE via session persistence) mailing-list
- [oss-security] 20210301 CVE-2021-25329: Apache Tomcat Incomplete fix for CVE-2020-9484 mailing-list
- [tomee-commits] 20210522 [jira] [Closed] (TOMEE-2909) Impact of security vulnerability(CVE-2020-9484) on TOMEE plus (7.0.7) mailing-list
- https://www.oracle.com/security-alerts/cpuApr2021.html
- [tomcat-users] 20210701 What is "h2c"? What is CVE-2021-25329? Re: Most recent security-related update to 8.5 mailing-list
- [tomcat-users] 20210701 Re: What is "h2c"? What is CVE-2021-25329? Re: Most recent security-related update to 8.5 mailing-list
- [tomcat-users] 20210702 Re: CVE-2021-25329, was Re: Most recent security-related update to 8.5 mailing-list
- [tomcat-dev] 20210712 svn commit: r1891484 - in /tomcat/site/trunk: docs/security-10.html docs/security-7.html docs/security-8.html docs/security-9.html xdocs/security-10.xml xdocs/security-7.xml xdocs/security-8.xml xdocs/security-9.xml mailing-list
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html