CVE-2020-1938
Exploitation confirmed. First attested on 2022-03-03 by CISA-ADP, CISA KEV, GCVE · previdian.
- Published2020-02-24
- Fixed in9.0.31 · 8.5.51 · 7.0.100
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Tomcat treats AJP connections as having higher trust than, for example, a similar HTTP connection. If such connections are available to an attacker, they can be exploited in ways that may be surprising. In Apache Tomcat 9.0.0.M1 to 9.0.0.30, 8.5.0 to 8.5.50 and 7.0.0 to 7.0.99, Tomcat shipped with an AJP Connector enabled by default that listened on all configured IP addresses. It was expected (and recommended in the security guide) that this Connector would be disabled if not required. This vulnerability report identified a mechanism that allowed: - returning arbitrary files from anywhere in the web application - processing any file in the web application as a JSP Further, if the web application allowed file upload and stored those files within the web application (or the attacker was able to control the content of the web application by some other means) then this, along with the ability to process a file as a JSP, made remote code execution possible. It is important to note that mitigation is only required if an AJP port is accessible to untrusted users. Users wishing to take a defence-in-depth approach and block the vector that permits returning arbitrary files and execution as JSP may upgrade to Apache Tomcat 9.0.31, 8.5.51 or 7.0.100 or later. A number of changes were made to the default AJP Connector configuration in 9.0.31 to harden the default configuration. It is likely that users upgrading to 9.0.31, 8.5.51 or 7.0.100 or later will need to make small changes to their configurations.
Timeline
dates in UTC- 2020-02-20Exploit-DB entryExploit-DB
- 2020-02-2422:15CVE publishedNVD
- 2022-03-03Added to the CISA KEV catalogCISA KEV
- 2022-03-03Listed as exploited by GCVEGCVE
- 2022-03-03Exploitation first reportedCISA KEV
- 2025-02-0621:05SSVC exploitation set to activeCISA-ADP
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | ≥ 9.0.0, < 9.0.31 | 9.0.31 | NVD · OSV |
| 8.5 | ≥ 8.5.0, < 8.5.51 | 8.5.51 | NVD · OSV |
| 8.x | ≥ 8.0.0, < 8.5.51 | 8.5.51 | OSV |
| 7.0 | ≥ 7.0.0, < 7.0.100 | 7.0.100 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.0 | = 7.0.1 | no fix published | NVD |
| 7.1 | = 7.1.2 | no fix published | NVD |
| 8.1 | = 8.1.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
18 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Apache TomcatAffected
- = Apache Tomcat 9.0.0.M1 to 9.0.0.30no fix stated
- = 8.5.0 to 8.5.50no fix stated
- = 7.0.0 to 7.0.99no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2021-02-24
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apache-commons-collectionsRocky Linux:8all versions · fixed in 0:3.2.2-10.module+el8.3.0+53+ea062990
- apache-commons-collectionsRocky Linux:8all versions · fixed in 0:3.2.2-10.module+el8.3.0+74+855e3f5d
- apache-commons-collectionsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:3.2.2-10.module+el8.1.0+3366+6dfb954c
- apache-commons-langRocky Linux:8all versions · fixed in 0:2.6-21.module+el8.3.0+53+ea062990
- apache-commons-langRocky Linux:8all versions · fixed in 0:2.6-21.module+el8.3.0+74+855e3f5d
- apache-commons-langRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:2.6-21.module+el8.1.0+3366+6dfb954c
- apache-commons-netRocky Linux:8all versions · fixed in 0:3.6-3.module+el8.3.0+53+ea062990
- apache-commons-netRocky Linux:8all versions · fixed in 0:3.6-3.module+el8.3.0+74+855e3f5d
189 more package ranges on OSV.dev
Vendor advisories
tomcat: Apache Tomcat AJP File Read/Inclusion Vulnerability
tomcat5.src as a component of Red Hat Enterprise Linux 5 · jbossweb as a component of Red Hat JBoss Data Grid 6 · opendaylight.src as a component of Red Hat OpenStack Platform 10 (Newton) · +2 more
Red Hat Security Advisory: Red Hat Fuse 7.9.0 release and security update
Philips Vue PACS (Update B)
Vue PACS: Versions 12.2.x.x and prior · Vue Motion: Versions 12.2.1.5 and prior · Vue MyVue: Versions 12.2.x.x and prior · +1 more
Red Hat Security Advisory: pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update
Red Hat Security Advisory: tomcat security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.23 security update
12 more advisories
Fix
- Update Apache Tomcat to 9.0.31 · 8.5.51 · 7.0.100
- CISA’s required action: Apply updates per vendor instructions.due 2022-03-17
- Vendor fix Red Hat Product Security RHSA-2021:3140 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. Installation instructions are available from the Fuse 7.9.0 product documentation page: https://access.redhat.com/documentation/en-us/red_hat…
- Vendor fix CISA ICSMA-21-187-01 · 1 productPhilips recommends configuring the Vue PACS environment per D000763414 - Vue_PACS_12_Ports_Protocols_Services_Guide available on Incenter.
- Vendor fix CISA ICSMA-21-187-01 · 1 productPhilips released Version 12.2.1.5 in June of 2020 for MyVue that remediates CWE-693 and recommends contacting support below.
- Vendor fix CISA ICSMA-21-187-01 · 1 productPhilips released Version 12.2.1.5 in June of 2020 for Vue Motion that remediates CWE-324 and recommends contacting support below.
- Vendor fix CISA ICSMA-21-187-01 · 1 productPhilips released Version 12.2.8.0 in May of 2021 for Speech that remediates CWE-693, CWE-319, CWE-119, CWE-287, and CWE-1214 and recommends contacting support below.
- Vendor fix CISA ICSMA-21-187-01 · 1 productPhilips released Version 12.2.8.0 in May of 2021 for PACS that remediates CWE-20, CWE-119, CWE-287 and recommends contacting support below.
Advisories and patches
- lists.apache.orgVendor Advisory
- lists.apache.orgVendor Advisory
- lists.apache.orgVendor Advisory
- lists.apache.orgPatch
- lists.apache.orgVendor Advisory
- lists.apache.orgPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Proof of concept
- PoC-in-GitHub20 repositories, unverifiedknown since 2026-11-01xindongzhuaizhuai/CVE-2020-1938sgdream/CVE-2020-1938bkfish/CNVD-2020-10487-Tomcat-Ajp-lfi-Scannerlaolisafe/CVE-2020-1938h7hac9/CVE-2020-1938
- Metasploit modules
- 1 moduleauxiliary/admin/http/tomcat_ghostcatrank: normalModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
CISA Known Exploited Vulnerability
- Date added
- 2022-03-03
- Patch due date
- 2022-03-17
- Ransomware use
- Unknown
- Required action
- Apply updates per vendor instructions.
Sources
- CISA KEVKEV entry2022-03-03
- ENISA EUVDexploitation2022-03-032022-03-03
- GCVEexploitation2022-03-03
- CISA-ADPSSVC decisionactive2025-02-06
- CISA-ADPCVSS 3.19.82025-02-06
- NVDCVSS 3.19.8read 2026-10-23
- NVDCVSS 2.07.5read 2026-10-23
- FIRST EPSSEPSS score99.2 %read 2026-12-05
- PoC-in-GitHubproof of concept20known since 2026-11-01
- Exploit-DBdetectionread 2026-12-04
- ProjectDiscoverydetectionread 2026-12-04
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCritical2020-06-15
Identifiers
- BIT-tomcat-2020-1938same flawBitnami · Apache-2.0
- EUVD-2020-0481same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-c9hw-wf7x-jp9jsame flawGitHub Advisory Database · CC-BY-4.0
- auxiliary/admin/http/tomcat_ghostcatexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- EDB-48143exploit referenceExploit-DB · BSD-3-Clause
- DLA-2133-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-2209-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4673-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4680-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2020-0138advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2020:0345-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2020:0597-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11468-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13441-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2020:0855advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:0861advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:0912advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:1478advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:1520advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:2779advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:2780advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:2781advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:2840advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:4847advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2020:4847advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2020:0598-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:0631-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:0632-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:0725-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:0806-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:1111-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:1126-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:1272-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:14334-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:14342-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2020-02-24
- Last modified
- 2026-08-25
- NVD status
- Analyzed
- GitHub advisory
- GHSA-c9hw-wf7x-jp9j
Frequently asked questions
What is CVE-2020-1938?
Is CVE-2020-1938 actively exploited?
What is the CVSS score for CVE-2020-1938?
Running Apache Tomcat? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-c9hw-wf7x-jp9j
- Metasploit Framework · BSD-3-Clause
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0