CVE-2023-34981
Apache Tomcat: AJP response header mix-up
Also known as BIT-tomcat-2023-34981, GHSA-mppv-79ch-vw6q
Mitigation
- Upgrade org.apache.tomcat.embed:tomcat-embed-core to one of 11.0.0-M6, 10.1.9, 9.0.75 (or later in the same release line).
- Upgrade org.apache.tomcat:tomcat-coyote to 8.5.89 or later.
Who should check
- Projects that depend on Maven package org.apache.tomcat.embed:tomcat-embed-core (>= 11.0.0-M5, < 11.0.0-M6)
- Projects that depend on Maven package org.apache.tomcat:tomcat-coyote (>= 8.5.88, < 8.5.89)
- Anyone running Apache Software Foundation Apache Tomcat 11.0.0-M5; 10.1.8; 9.0.74; 8.5.88
Vulnerability facts
- Affected
- org.apache.tomcat.embed:tomcat-embed-core >= 11.0.0-M5, < 11.0.0-M6; org.apache.tomcat:tomcat-coyote >= 8.5.88, < 8.5.89
- Fixed in
- 11.0.0-M6, 10.1.9, 9.0.75, 8.5.89
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.26% chance of exploitation in 30 days (percentile 70, 2026-11-26)
- CWE
- CWE-732
- Modified
Description
A regression in the fix for bug 66512 in Apache Tomcat 11.0.0-M5, 10.1.8, 9.0.74 and 8.5.88 meant that, if a response did not include any HTTP headers no AJP SEND_HEADERS messare woudl be sent for the response which in turn meant that at least one AJP proxy (mod_proxy_ajp) would use the response headers from the previous request leading to an information leak.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.tomcat.embed:tomcat-embed-core | >= 11.0.0-M5, < 11.0.0-M6 | 11.0.0-M6, 10.1.9, 9.0.75 | osv |
| Maven org.apache.tomcat:tomcat-coyote | >= 8.5.88, < 8.5.89 | 8.5.89 | osv |
| Apache Software Foundation Apache Tomcat | 11.0.0-M5; 10.1.8; 9.0.74; 8.5.88 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-34981. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-34981.md Affected: org.apache.tomcat.embed:tomcat-embed-core >= 11.0.0-M5, < 11.0.0-M6; org.apache.tomcat:tomcat-coyote >= 8.5.88, < 8.5.89 Fixed in: 11.0.0-M6, 10.1.9, 9.0.75, 8.5.89 Steps: 1. Search this machine and project for org.apache.tomcat.embed:tomcat-embed-core (Maven), org.apache.tomcat:tomcat-coyote (Maven), Apache Software Foundation Apache Tomcat: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/apache/tomcat/commit/2214c8030522aa9b2a367dfa5d9acff1a03666ae
- https://github.com/apache/tomcat/commit/2f0ca2378415f4cf0748f4bc8fa955f41f803fa5
- https://github.com/apache/tomcat/commit/739c7381aed22b7636351caf885ddc519ab6b442
- https://github.com/apache/tomcat/commit/f0742f47b98aca943097f7f88e0d1163f57527e3
Other
- https://security.netapp.com/advisory/ntap-20230714-0003/
- https://bz.apache.org/bugzilla/show_bug.cgi?id=66512
- https://bz.apache.org/bugzilla/show_bug.cgi?id=66591
- https://github.com/apache/tomcat
- https://security.netapp.com/advisory/ntap-20230714-0003
- https://tomcat.apache.org/security-10.html
- https://tomcat.apache.org/security-11.html
- https://tomcat.apache.org/security-8.html
- https://tomcat.apache.org/security-9.html
FAQ
Is CVE-2023-34981 being exploited?
There is no confirmed exploitation: CVE-2023-34981 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-34981?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-34981?
org.apache.tomcat.embed:tomcat-embed-core >= 11.0.0-M5, < 11.0.0-M6; org.apache.tomcat:tomcat-coyote >= 8.5.88, < 8.5.89.
Is there a fix for CVE-2023-34981?
Yes. Fixed in 11.0.0-M6, 10.1.9, 9.0.75, 8.5.89. Upgrade org.apache.tomcat.embed:tomcat-embed-core to one of 11.0.0-M6, 10.1.9, 9.0.75 (or later in the same release line). Upgrade org.apache.tomcat:tomcat-coyote to 8.5.89 or later.
How do I check if I'm affected by CVE-2023-34981?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.