CVE-2021-25122Apache Tomcat h2c request mix-up
- 7.5HighCVSS base score
- 18.1%Exploitation in 30 daysEPSS · top 2.7% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By apache
- 46 days later
· 46 days later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 18.1% · top 2.7% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Apache Software Foundation · Apache Tomcat
- affected Apache Tomcat 10 – < 10.0.2
- affected Apache Tomcat 9 – < 9.0.42
- affected Apache Tomcat 8.5 – < 8.5.62
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.tomcat.embed:tomcat-embed-coreGHSA-j39c-c8hj-x4j3 (opens in a new tab)
- Mavenorg.apache.tomcat:tomcat-coyoteGHSA-j39c-c8hj-x4j3 (opens in a new tab)
References
References15
- https://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7%40%3Cannounce.tomcat.apache.org%3E (opens in a new tab)x_refsource_MISCmailing-listx_refsource_MLISTx_transferred
- [tomcat-users] 20210301 [SECURITY] CVE-2021-25122 Apache Tomcat h2c request mix-up (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20210301 [SECURITY] CVE-2021-25122 Apache Tomcat h2c request mix-up (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20210301 svn commit: r1887027 - in /tomcat/site/trunk: docs/security-10.html docs/security-7.html docs/security-8.html docs/security-9.html xdocs/security-10.xml xdocs/security-7.xml xdocs/security-8.xml xdocs/security-9.xml (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [announce] 20210301 [SECURITY] CVE-2021-25122 Apache Tomcat h2c request mix-up (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20210301 CVE-2021-25122: Apache Tomcat h2c request mix-up (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-users] 20210305 RE: [SECURITY] CVE-2021-25122 Apache Tomcat h2c request mix-up (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-users] 20210305 Re: [SECURITY] CVE-2021-25122 Apache Tomcat h2c request mix-up (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [debian-lts-announce] 20210316 [SECURITY] [DLA 2596-1] tomcat8 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-4891 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://www.oracle.com//security-alerts/cpujul2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20210409-0002/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_refsource_MISCx_transferred
- GLSA-202208-34 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-1340 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-j39c-c8hj-x4j3 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-25122)Record last updated .