cve.bz

CVE-2021-25122

7.5 highEPSS 18%Fix available

High (7.5). EPSS 18% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat.embed:tomcat-embed-core 10.0.2, 8.5.63, 9.0.43.

On this page
When responding to new h2c connection requests, Apache Tomcat versions 10.0.0-M1 to 10.0.0, 9.0.0.M1 to 9.0.41 and 8.5.0 to 8.5.61 could duplicate request headers and a limited amount of request body from one request to another meaning user A and user B could both see the results of user A's request.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
18% (unchanged from 18% a week ago; 18% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-25122 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-25122?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-25122?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-25122 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.

Badge for a README or a site

CVE-2021-25122

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-25122](https://cve.bz/cve/badge/CVE-2021-25122.svg)](https://cve.bz/cve/CVE-2021-25122)

HTML:

<a href="https://cve.bz/cve/CVE-2021-25122"><img src="https://cve.bz/cve/badge/CVE-2021-25122.svg" alt="CVE-2021-25122"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Tomcatfrom Apache Tomcat 10 before 10.0.2
Apache Software Foundation Apache Tomcatfrom Apache Tomcat 9 before 9.0.42
Apache Software Foundation Apache Tomcatfrom Apache Tomcat 8.5 before 8.5.62

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j39c-c8hj-x4j3Mavenorg.apache.tomcat.embed:tomcat-embed-core>=10.0.0-M1 <10.0.210.0.2
GHSA-j39c-c8hj-x4j3Mavenorg.apache.tomcat.embed:tomcat-embed-core>=9.0.0-M1 <9.0.439.0.43
GHSA-j39c-c8hj-x4j3Mavenorg.apache.tomcat.embed:tomcat-embed-core>=8.5.0 <8.5.638.5.63
GHSA-j39c-c8hj-x4j3Mavenorg.apache.tomcat:tomcat-coyote>=10.0.0-M1 <10.0.210.0.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9tomcat88.5.54-0+deb9u6DLA-2594-1
Debian10tomcat99.0.31-1~deb10u4DSA-4891-1
Debian12, 13, 14tomcat99.0.43-1DEBIAN-CVE-2021-25122
Ubuntu18.04:LTStomcat99.0.16-3ubuntu0.18.04.2UBUNTU-CVE-2021-25122 USN-5360-1
Ubuntu20.04:LTStomcat99.0.31-1ubuntu0.2UBUNTU-CVE-2021-25122 USN-5360-1 USN-6943-1
UbuntuPro:16.04:LTStomcat88.0.32-1ubuntu1.13+esm1USN-6943-1
UbuntuPro:18.04:LTStomcat88.5.39-1ubuntu1~18.04.3+esm2UBUNTU-CVE-2021-25122 USN-6943-1
UbuntuPro:18.04:LTStomcat99.0.16-3ubuntu0.18.04.2+esm2USN-6943-1
UbuntuPro:22.04:LTStomcat99.0.58-1ubuntu0.1+esm2USN-6943-1
Red Hatjboss_enterprise_web_server:5.5::el7jws5-ecj0:4.12.0-3.redhat_2.2.el7jwsRHSA-2021:2561
Red Hatjboss_enterprise_web_server:5.5::el7jws5-mod_cluster, jws5-mod_cluster-tomcat0:1.4.3-2.Final_redhat_00002.1.el7jwsRHSA-2021:2561
Red Hatjboss_enterprise_web_server:5.5::el7jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 9 more0:9.0.43-11.redhat_00011.1.el7jwsRHSA-2021:2561
Red Hatjboss_enterprise_web_server:5.5::el7jws5-tomcat-native, jws5-tomcat-native-debuginfo0:1.2.26-3.redhat_3.el7jwsRHSA-2021:2561
Red Hatjboss_enterprise_web_server:5.5::el7jws5-tomcat-vault, jws5-tomcat-vault-javadoc0:1.1.8-2.Final_redhat_00003.1.el7jwsRHSA-2021:2561
Red Hatjboss_enterprise_web_server:5.5::el8jws5-ecj0:4.12.0-3.redhat_2.2.el8jwsRHSA-2021:2561
Red Hatjboss_enterprise_web_server:5.5::el8jws5-mod_cluster, jws5-mod_cluster-tomcat0:1.4.3-2.Final_redhat_00002.1.el8jwsRHSA-2021:2561
Red Hatjboss_enterprise_web_server:5.5::el8jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 7 more0:9.0.43-11.redhat_00011.1.el8jwsRHSA-2021:2561
Red Hatjboss_enterprise_web_server:5.5::el8jws5-tomcat-native, jws5-tomcat-native-debuginfo0:1.2.26-3.redhat_3.el8jwsRHSA-2021:2561
Red Hatjboss_enterprise_web_server:5.5::el8jws5-tomcat-vault, jws5-tomcat-vault-javadoc0:1.1.8-2.Final_redhat_00003.1.el8jwsRHSA-2021:2561
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 6 moretomcat9.0.36-4.58.1SUSE-SU-2021:1009-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moretomcat9.0.36-3.79.1SUSE-SU-2021:0989-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2tomcat9.0.36-3.24.1SUSE-SU-2021:1008-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moretomcat9.0.36-3.64.1SUSE-SU-2021:0988-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5tomcat9.0.115-3.160.1SUSE-SU-2026:1058-1
openSUSELeap 15.2tomcat9.0.36-lp152.2.22.1openSUSE-SU-2021:0496-1
openSUSETumbleweedtomcat9.0.36-8.4openSUSE-SU-2024:11468-1
openSUSETumbleweedtomcat1010.1.14-1.1openSUSE-SU-2024:13441-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux 8's Identity Management and Certificate System are using a vulnerable version of Tomcat that is bundled into the `pki-servlet-engine` component. However, HTTP/2 is not enabled in such a configuration, and it is not possible to trigger the flaw in a supported setup. A future update may fix the code. Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7 are not affected by this flaw because HTTP/2 is not supported in the shipped version of tomcat in those packages.

Red Hat OpenStack Platform's OpenDaylight will not be updated for this flaw because it was deprecated as of OpenStack Platform 14 and is only receiving security fixes for Important and Critical flaws.

ProductPackageStateAdvisory
Red Hat Fuse 7.11tomcatFixed 2022-07-07RHSA-2022:5532
Red Hat JBoss Web Server 5tomcatFixed 2021-06-29RHSA-2021:2562
Red Hat JBoss Web Server 5.5 on RHEL 7jws5-ecj-0:4.12.0-3.redhat_2.2.el7jwsFixed 2021-06-29RHSA-2021:2561
Red Hat JBoss Web Server 5.5 on RHEL 7jws5-mod_cluster-0:1.4.3-2.Final_redhat_00002.1.el7jwsFixed 2021-06-29RHSA-2021:2561
Red Hat JBoss Web Server 5.5 on RHEL 7jws5-tomcat-0:9.0.43-11.redhat_00011.1.el7jwsFixed 2021-06-29RHSA-2021:2561
Red Hat JBoss Web Server 5.5 on RHEL 7jws5-tomcat-native-0:1.2.26-3.redhat_3.el7jwsFixed 2021-06-29RHSA-2021:2561
Red Hat JBoss Web Server 5.5 on RHEL 7jws5-tomcat-vault-0:1.1.8-2.Final_redhat_00003.1.el7jwsFixed 2021-06-29RHSA-2021:2561
Red Hat JBoss Web Server 5.5 on RHEL 8jws5-ecj-0:4.12.0-3.redhat_2.2.el8jwsFixed 2021-06-29RHSA-2021:2561
Red Hat JBoss Web Server 5.5 on RHEL 8jws5-mod_cluster-0:1.4.3-2.Final_redhat_00002.1.el8jwsFixed 2021-06-29RHSA-2021:2561
Red Hat JBoss Web Server 5.5 on RHEL 8jws5-tomcat-0:9.0.43-11.redhat_00011.1.el8jwsFixed 2021-06-29RHSA-2021:2561
Red Hat Decision Manager 7tomcatNot affected
Red Hat Enterprise Linux 6tomcat6Not affected
Red Hat Enterprise Linux 7tomcatNot affected
Red Hat Enterprise Linux 8pki-deps:10.6/pki-servlet-engineFix deferred
Red Hat JBoss Data Grid 6jbosswebOut of support scope
Red Hat JBoss Data Virtualization 6jbosswebOut of support scope
Red Hat JBoss Enterprise Application Platform 6jbosswebOut of support scope
Red Hat JBoss Fuse 6tomcatOut of support scope
Red Hat JBoss Web Server 3tomcatNot affected
Red Hat OpenStack Platform 10 (Newton)opendaylightOut of support scope
5 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-25122.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON