CVE-2021-25122
JSON

7.5high

Apache Tomcat h2c request mix-up

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
17.9% (higher than 97% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-j39c-c8hj-x4j3BIT-TOMCAT-2021-25122

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.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Tomcatfrom Apache Tomcat 10 before 10.0.2, from Apache Tomcat 9 before 9.0.42, from Apache Tomcat 8.5 before 8.5.62CVE List
org.apache.tomcat.embed:tomcat-embed-core (Maven)from 10.0.0-M1 before 10.0.2, from 9.0.0-M1 before 9.0.43, from 8.5.0 before 8.5.63GitHub Advisory Database
org.apache.tomcat:tomcat-coyote (Maven)from 10.0.0-M1 before 10.0.2GitHub Advisory Database
apache tomcatfrom 8.5.0 up to 8.5.61, from 9.0.0 up to 9.0.41, 9.0.0, 10.0.0NVD
debian debian_linux9.0, 10.0NVD
oracle agile_product_lifecycle_management9.3.3, 9.3.6NVD
oracle communications_cloud_native_core_policy1.14.0NVD
oracle communications_cloud_native_core_security_edge_protection_proxy1.6.0NVD
oracle communications_instant_messaging_server10.0.1.5.0NVD
oracle database12.2.0.1, 19c, 21cNVD
oracle graph_server_and_clientbefore 21.3.0, 21.3.0NVD
oracle instantis_enterprisetrack17.1, 17.2, 17.3NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-200

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Cuando se responde a nuevas peticiones de conexión h2c, Apache Tomcat versiones 10.0.0-M1 hasta 10.0.0, versiones 9.0.0.M1 hasta 9.0.41 y versiones 8.5.0 hasta 8.5.61, podrían duplicar los encabezados de petición y una cantidad limitada del cuerpo de petición de una petición a otra, lo que significa que el usuario A y el usuario B podrían visualizar los resultados de la petición del usuario A

Bitnami Vulnerability Database

When responding to new h2c connection requests, Apache Tomcat versions 9.0.0 through 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.

References

https://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7%40%3Cannounce.tomcat.apache.org%3Eadvisory, mailing-list, vendor-advisory, web
https://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7%40%3Cusers.tomcat.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7%40%3Cdev.tomcat.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/rf6d5d57b114678d8898005faef31e9fd6d7c981fcc4ccfc3bc272fc9%40%3Cdev.tomcat.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7%40%3Cannounce.apache.org%3Emailing-list, web
http://www.openwall.com/lists/oss-security/2021/03/01/1advisory, mailing-list, third-party-advisory, web
https://lists.apache.org/thread.html/rcd90bf36b1877e1310b87ecd14ed7bbb15da52b297efd9f0e7253a3b%40%3Cusers.tomcat.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/rd0463f9a5cbc02a485404c4b990f0da452e5ac5c237808edba11c947%40%3Cusers.tomcat.apache.org%3Emailing-list, web
https://lists.debian.org/debian-lts-announce/2021/03/msg00018.htmladvisory, mailing-list, third-party-advisory, web
https://www.debian.org/security/2021/dsa-4891advisory, third-party-advisory, vendor-advisory, web
https://www.oracle.com//security-alerts/cpujul2021.htmladvisory, patch, third-party-advisory, web
https://security.netapp.com/advisory/ntap-20210409-0002/advisory, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-25122 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-j39c-c8hj-x4j3 changed 2026-08-26CC-BY-4.0
NVDCVE-2021-25122 changed 2026-10-08Public domain
Bitnami Vulnerability DatabaseBIT-TOMCAT-2021-25122 changed 2026-09-08Apache-2.0