CVE-2024-52318 json
Apache Tomcat: Incorrect JSP tag recycling leads to XSS
published last yr. modified 2mo ago also BIT-tomcat-2024-52318 , EUVD-2024-3243 , GHSA-f632-9449-3j4w
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
Incorrect object recycling and reuse vulnerability in Apache Tomcat.
This issue affects Apache Tomcat: 11.0.0, 10.1.31, 9.0.96.
Users are recommended to upgrade to version 11.0.1, 10.1.32 or 9.0.97, which fixes the issue.
Patch / fix
- maven org.apache.tomcat:tomcat-jasper 9.0.97, 10.1.32, 11.0.1
- maven org.apache.tomcat.embed:tomcat-embed-jasper 9.0.97, 10.1.32, 11.0.1
- maven org.apache.tomcat:tomcat 9.0.97, 10.1.32, 11.0.1
- bitnami tomcat 9.0.97, 10.1.33, 11.0.9
- tomcat10 Debian 14, Debian 13 10.1.33-1
debian advisories DEBIAN-CVE-2024-52318
Is CVE-2024-52318 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-52318 updated cvss 5.4
tomcat: incorrect JSP tag recycling leads to XSS
-
Red Hat Enterprise Linux 7 tomcat, tomcat-lib, tomcat-jsvc, tomcat-javadoc, tomcat-webapps, tomcat-el-2.2-api, +4 more Red Hat Enterprise Linux 8 tomcat, tomcat-lib, tomcat-webapps, tomcat-el-3.0-api, pki-servlet-engine, tomcat-docs-webapp, +4 more Red Hat Enterprise Linux 9 tomcat, tomcat-lib, tomcat-webapps, tomcat-el-3.0-api, pki-servlet-engine, tomcat-docs-webapp, +4 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.88% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat-jasper | >=11.0.0, <11.0.1 >=10.1.31, <10.1.32 >=9.0.96, <9.0.97 |
11.0.1 10.1.32 9.0.97 |
| maven | org.apache.tomcat.embed:tomcat-embed-jasper | >=9.0.96, <9.0.97 >=11.0.0, <11.0.1 >=10.1.31, <10.1.32 |
9.0.97 11.0.1 10.1.32 |
| maven | org.apache.tomcat:tomcat | >=11.0.0, <11.0.1 >=10.1.31, <10.1.32 >=9.0.96, <9.0.97 |
11.0.1 10.1.32 9.0.97 |
| bitnami | tomcat | >=9.0.96, <9.0.97 >=10.1.31, <10.1.33 >=11.0.0, <11.0.9 |
9.0.97 10.1.33 11.0.9 |
Affected products
- Apache Software Foundation Apache Tomcat
Classification
- Weakness
-
- CWE-326 Inadequate Encryption Strength
References
-
github.com
/apache/tomcat/commit/8d1fc4733a06d1a03b9d644c57010f2ec5f0df38
web
-
github.com
/apache/tomcat/commit/9813c5dd3259183f659bbb83312a5cf673cc1ebf
web
-
github.com
/apache/tomcat/commit/be8e32143a3159e78fe5463d09bb8e1b33bf2b1f
web
-
lists.apache.org
/thread/co243cw1nlh6p521c5265cm839wkqdp9
vendor-advisory, web, advisory
-
openwall.com
/lists/oss-security/2024/11/18/4
web, mailing-list, discussion
-
security.netapp.com
/advisory/ntap-20250131-0009/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-52318
advisory, web
-
bz.apache.org
/bugzilla/show_bug.cgi?id=69333
web
-
github.com
/apache/tomcat
package
-
security.netapp.com
/advisory/ntap-20250131-0009
web
Sources
- CVE List CVE-2024-52318
- GitHub Advisory GHSA-f632-9449-3j4w
- NVD CVE-2024-52318
- OSV BIT-tomcat-2024-52318
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.