CVE-2024-52318Apache Tomcat: Incorrect JSP tag recycling leads to XSS
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | tomcat10 | Fixed | 10.1.33-1 | DEBIAN-CVE-2024-52318 |
| Debian 13 | tomcat10 | Fixed | 10.1.33-1 | DEBIAN-CVE-2024-52318 |
| Red Hat Enterprise Linux 9 | pki-servlet-4.0-api | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-servlet-engine | Not affected | ||
| Red Hat Enterprise Linux 9 | tomcat | Not affected | ||
| Red Hat Enterprise Linux 9 | tomcat-admin-webapps | Not affected | ||
| Red Hat Enterprise Linux 9 | tomcat-docs-webapp | Not affected | ||
| Red Hat Enterprise Linux 9 | tomcat-el-3.0-api | Not affected | ||
| Red Hat Enterprise Linux 9 | tomcat-jsp-2.3-api | Not affected | ||
| Red Hat Enterprise Linux 9 | tomcat-lib | Not affected | ||
| Red Hat Enterprise Linux 9 | tomcat-servlet-4.0-api | Not affected | ||
| Red Hat Enterprise Linux 9 | tomcat-webapps | Not affected | ||
| Red Hat Enterprise Linux 8 | pki-servlet-4.0-api | Not affected | ||
| Red Hat Enterprise Linux 8 | pki-servlet-engine | Not affected | ||
| Red Hat Enterprise Linux 8 | tomcat | Not affected | ||
| Red Hat Enterprise Linux 8 | tomcat-admin-webapps | Not affected | ||
| Red Hat Enterprise Linux 8 | tomcat-docs-webapp | Not affected | ||
| Red Hat Enterprise Linux 8 | tomcat-el-3.0-api | Not affected | ||
| Red Hat Enterprise Linux 8 | tomcat-jsp-2.3-api | Not affected | ||
| Red Hat Enterprise Linux 8 | tomcat-lib | Not affected | ||
| Red Hat Enterprise Linux 8 | tomcat-servlet-4.0-api | Not affected | ||
| Red Hat Enterprise Linux 8 | tomcat-webapps | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-admin-webapps | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-docs-webapp | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-el-2.2-api | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-javadoc | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-jsp-2.2-api | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-jsvc | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-lib | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-servlet-3.0-api | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-webapps | Not affected | ||
| Maven library | org.apache.tomcat.embed:tomcat-embed-jasper | Fixed | 10.1.32 | GHSA-f632-9449-3j4w |
| Maven library | org.apache.tomcat:tomcat | Fixed | 9.0.97 | GHSA-f632-9449-3j4w |
| Maven library | org.apache.tomcat:tomcat-jasper | Fixed | 11.0.1 | GHSA-f632-9449-3j4w |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Tomcat: affected: 11.0.0, 10.1.31, 9.0.96
Vendor advisories:
- https://lists.apache.org/thread/co243cw1nlh6p521c5265cm839wkqdp9 (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.