CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5). EPSS 12% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 10.0.12, 10.1.0-M6, 8.5.72.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Horg.apache.tomcat:tomcat (Maven): fixed in 10.1.0-M6, 10.0.12, 9.0.54, 8.5.72Explain CVE-2021-42340 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-42340?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-42340?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-42340 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| apache:tomcat | from 8.5.60 before 8.5.72 |
| apache:tomcat | from 9.0.40 before 9.0.54 |
| apache:tomcat | from 10.0.1 before 10.0.12 |
| apache:tomcat | 10.0.0:milestone10 |
| apache:tomcat | 10.1.0:milestone1 |
| apache:tomcat | 10.1.0:milestone2 |
| apache:tomcat | 10.1.0:milestone3 |
| apache:tomcat | 10.1.0:milestone4 |
| apache:tomcat | 10.1.0:milestone5 |
| debian:debian_linux | 11.0 |
| oracle:agile_engineering_data_management | 6.2.1.0 |
| oracle:big_data_spatial_and_graph | before 23.1 |
| oracle:communications_diameter_signaling_router | from 8.0.0.0 through 8.5.0.2 |
| oracle:hospitality_cruise_shipboard_property_management_system | 20.1.0 |
| oracle:managed_file_transfer | 12.2.1.3.0 |
| oracle:managed_file_transfer | 12.2.1.4.0 |
| oracle:middleware_common_libraries_and_tools | 12.2.1.4.0 |
| oracle:payment_interface | 19.1 |
| oracle:payment_interface | 20.3 |
| oracle:retail_customer_insights | 15.0.2 |
| oracle:retail_customer_insights | 16.0.2 |
| oracle:retail_data_extractor_for_merchandising | 15.0.2 |
| oracle:retail_data_extractor_for_merchandising | 16.0.2 |
| oracle:retail_eftlink | 21.0.0 |
| oracle:retail_financial_integration | 16.0.1 |
| oracle:retail_financial_integration | 19.0.0 |
| oracle:retail_store_inventory_management | 14.0.4.13 |
| oracle:retail_store_inventory_management | 14.1.3.5 |
| oracle:retail_store_inventory_management | 14.1.3.14 |
| oracle:retail_store_inventory_management | 15.0.3.3 |
| oracle:retail_store_inventory_management | 15.0.3.8 |
| oracle:retail_store_inventory_management | 16.0.3.7 |
| oracle:sd-wan_edge | 9.0 |
| oracle:sd-wan_edge | 9.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-wph7-x527-w3h5 | Maven | org.apache.tomcat:tomcat | >=10.1.0-M1 <10.1.0-M6 | 10.1.0-M6 |
| GHSA-wph7-x527-w3h5 | Maven | org.apache.tomcat:tomcat | >=10.0.0-M1 <10.0.12 | 10.0.12 |
| GHSA-wph7-x527-w3h5 | Maven | org.apache.tomcat:tomcat | >=9.0.40 <9.0.54 | 9.0.54 |
| GHSA-wph7-x527-w3h5 | Maven | org.apache.tomcat:tomcat | >=8.5.60 <8.5.72 | 8.5.72 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | tomcat9 | 9.0.43-2~deb11u3 | DSA-5009-1 |
| Debian | 12, 13, 14 | tomcat9 | 9.0.54-1 | DEBIAN-CVE-2021-42340 |
| Red Hat | enterprise_linux:9::appstream | pki-servlet-engine, pki-servlet-4.0-api | 1:9.0.50-1.el9 | RHBA-2022:8077 |
| Red Hat | jboss_enterprise_web_server:5.6::el7 | jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 9 more | 0:9.0.50-3.redhat_00004.1.el7jws | RHSA-2021:4861 |
| Red Hat | jboss_enterprise_web_server:5.6::el7 | jws5-tomcat-native, jws5-tomcat-native-debuginfo | 0:1.2.30-3.redhat_3.el7jws | RHSA-2021:4861 |
| Red Hat | jboss_enterprise_web_server:5.6::el7 | jws5-tomcat-vault, jws5-tomcat-vault-javadoc | 0:1.1.8-4.Final_redhat_00004.1.el7jws | RHSA-2021:4861 |
| Red Hat | jboss_enterprise_web_server:5.6::el8 | jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 7 more | 0:9.0.50-3.redhat_00004.1.el8jws | RHSA-2021:4861 |
| Red Hat | jboss_enterprise_web_server:5.6::el8 | jws5-tomcat-native, jws5-tomcat-native-debuginfo | 0:1.2.30-3.redhat_3.el8jws | RHSA-2021:4861 |
| Red Hat | jboss_enterprise_web_server:5.6::el8 | jws5-tomcat-vault, jws5-tomcat-vault-javadoc | 0:1.1.8-4.Final_redhat_00004.1.el8jws | RHSA-2021:4861 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.
Red Hat rates this Important.
Within Red Hat OpenStack Platform, Tomcat is provided as a component of OpenDaylight. This flaw will not receive a fix as OpenDaylight was deprecated as of OpenStack Platform 14 and is only receiving security fixes for Critical flaws.
Red Hat Satellite does not include the affected Apache Tomcat, however, Tomcat is shipped with Red Hat Enterprise Linux and consumed by the Candlepin component of Satellite. Red Hat Satellite users are therefore advised to check the impact state of Red Hat Enterprise Linux, since any necessary fixes will be distributed through the platform.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | pki-servlet-engine-1:9.0.50-1.el9 | Fixed 2022-11-15 | RHBA-2022:8077 |
| Red Hat Fuse 7.11 | tomcat | Fixed 2022-07-07 | RHSA-2022:5532 |
| Red Hat JBoss Web Server 5 | tomcat | Fixed 2021-11-30 | RHSA-2021:4863 |
| Red Hat JBoss Web Server 5.6 on RHEL 7 | jws5-tomcat-0:9.0.50-3.redhat_00004.1.el7jws | Fixed 2021-11-30 | RHSA-2021:4861 |
| Red Hat JBoss Web Server 5.6 on RHEL 7 | jws5-tomcat-native-0:1.2.30-3.redhat_3.el7jws | Fixed 2021-11-30 | RHSA-2021:4861 |
| Red Hat JBoss Web Server 5.6 on RHEL 7 | jws5-tomcat-vault-0:1.1.8-4.Final_redhat_00004.1.el7jws | Fixed 2021-11-30 | RHSA-2021:4861 |
| Red Hat JBoss Web Server 5.6 on RHEL 8 | jws5-tomcat-0:9.0.50-3.redhat_00004.1.el8jws | Fixed 2021-11-30 | RHSA-2021:4861 |
| Red Hat JBoss Web Server 5.6 on RHEL 8 | jws5-tomcat-native-0:1.2.30-3.redhat_3.el8jws | Fixed 2021-11-30 | RHSA-2021:4861 |
| Red Hat JBoss Web Server 5.6 on RHEL 8 | jws5-tomcat-vault-0:1.1.8-4.Final_redhat_00004.1.el8jws | Fixed 2021-11-30 | RHSA-2021:4861 |
| Red Hat Support for Spring Boot 2.5.10 | tomcat | Fixed 2022-04-12 | RHSA-2022:1179 |
| Red Hat Decision Manager 7 | tomcat | Not affected | |
| Red Hat Enterprise Linux 6 | tomcat6 | Not affected | |
| Red Hat Enterprise Linux 7 | tomcat | Not affected | |
| Red Hat Enterprise Linux 8 | pki-deps:10.6/pki-servlet-engine | Not affected | |
| Red Hat JBoss Data Grid 6 | jbossweb | Not affected | |
| Red Hat JBoss Data Virtualization 6 | jbossweb | Not affected | |
| Red Hat JBoss Enterprise Application Platform 6 | jbossweb | Not affected | |
| Red Hat JBoss Fuse 6 | tomcat | Out of support scope | |
| Red Hat JBoss Web Server 3 | tomcat | Not affected | |
| Red Hat OpenStack Platform 10 (Newton) | opendaylight | Out of support scope | |
| 2 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-42340.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.