Skip to main content
ExploitedIn CISA KEVFix available

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?

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
  1. 2020-02-20Exploit-DB entryExploit-DB
  2. 2020-02-2422:15CVE publishedNVD
  3. 2022-03-03Added to the CISA KEV catalogCISA KEV
  4. 2022-03-03Listed as exploited by GCVEGCVE
  5. 2022-03-03Exploitation first reportedCISA KEV
  6. 2025-02-0621:05SSVC exploitation set to activeCISA-ADP

Versions per branch

NVD · OSV
Apache Tomcat
BranchAffectedFixed in
9.0≥ 9.0.0, < 9.0.319.0.31
8.5≥ 8.5.0, < 8.5.518.5.51
8.x≥ 8.0.0, < 8.5.518.5.51
7.0≥ 7.0.0, < 7.0.1007.0.100
Blackberry workspaces server
BranchAffectedFixed in
7.0= 7.0.1no fix published
7.1= 7.1.2no fix published
8.1= 8.1.0no fix published
9.0= 9.0no fix published
Debian debian linux
BranchAffectedFixed in
8.0= 8.0no fix published
9.0= 9.0no fix published
10.0= 10.0no fix published

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 Tomcat
    Affected
    • = 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

  • CVE-2020-1938 Red Hat Product Security825 products fixed · 5 known affected

    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

  • RHSA-2021:3140 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Fuse 7.9.0 release and security update

  • ICSMA-21-187-01 CISA4 known affected

    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

  • RHSA-2020:4847 Red Hat Product Security128 products fixed

    Red Hat Security Advisory: pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update

  • RHSA-2020:2840 Red Hat Product Security45 products fixed

    Red Hat Security Advisory: tomcat security update

  • RHSA-2020:2783 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.23 security update

12 more advisories

Full record on NVD

Fix

  1. Update Apache Tomcat to 9.0.31 · 8.5.51 · 7.0.100
  2. CISA’s required action: Apply updates per vendor instructions.due 2022-03-17
  3. 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…
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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

Detection

read 2026-11-01 01:02 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
EDB-48143EDB-49039
Exploit-DB
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

Identifiers

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?

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.

Is CVE-2020-1938 actively exploited?

Yes. CVE-2020-1938 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2022-03-17.

What is the CVSS score for CVE-2020-1938?

CVE-2020-1938 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record