Skip to content
OpenAdvisories
High · 7.0 Scanner template Public exploit CVE-2020-9484 BIT-tomcat-2020-9484EUVD-2020-0404GHSA-344f-f5vg-2jfj

Potential remote code execution in Apache Tomcat

Published May 20, 2020 · Updated Oct 8, 2026 · Assigned by apache

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

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Amazon Linux 2 tomcat +9 7.0.76-10.amzn2.0.2 ALAS2-2020-1449

Oracle Linux

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 17 repositories · most starred shown

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.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
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

References