CVEfocus › CVE database › CVE-2024-52318

CVE-2024-52318Apache Tomcat: Incorrect JSP tag recycling leads to XSS

CVSS 6.1 MediumEPSS 2.0% (higher than 82% of CVEs)Published 2024-11-18Updated 2025-01-31Assigner: apache

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.

CWE-326

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

5Fixed
30Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Debian 14tomcat10Fixed10.1.33-1DEBIAN-CVE-2024-52318
Debian 13tomcat10Fixed10.1.33-1DEBIAN-CVE-2024-52318
Red Hat Enterprise Linux 9pki-servlet-4.0-apiNot affected
Red Hat Enterprise Linux 9pki-servlet-engineNot affected
Red Hat Enterprise Linux 9tomcatNot affected
Red Hat Enterprise Linux 9tomcat-admin-webappsNot affected
Red Hat Enterprise Linux 9tomcat-docs-webappNot affected
Red Hat Enterprise Linux 9tomcat-el-3.0-apiNot affected
Red Hat Enterprise Linux 9tomcat-jsp-2.3-apiNot affected
Red Hat Enterprise Linux 9tomcat-libNot affected
Red Hat Enterprise Linux 9tomcat-servlet-4.0-apiNot affected
Red Hat Enterprise Linux 9tomcat-webappsNot affected
Red Hat Enterprise Linux 8pki-servlet-4.0-apiNot affected
Red Hat Enterprise Linux 8pki-servlet-engineNot affected
Red Hat Enterprise Linux 8tomcatNot affected
Red Hat Enterprise Linux 8tomcat-admin-webappsNot affected
Red Hat Enterprise Linux 8tomcat-docs-webappNot affected
Red Hat Enterprise Linux 8tomcat-el-3.0-apiNot affected
Red Hat Enterprise Linux 8tomcat-jsp-2.3-apiNot affected
Red Hat Enterprise Linux 8tomcat-libNot affected
Red Hat Enterprise Linux 8tomcat-servlet-4.0-apiNot affected
Red Hat Enterprise Linux 8tomcat-webappsNot affected
Red Hat Enterprise Linux 7tomcatNot affected
Red Hat Enterprise Linux 7tomcat-admin-webappsNot affected
Red Hat Enterprise Linux 7tomcat-docs-webappNot affected
Red Hat Enterprise Linux 7tomcat-el-2.2-apiNot affected
Red Hat Enterprise Linux 7tomcat-javadocNot affected
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiNot affected
Red Hat Enterprise Linux 7tomcat-jsvcNot affected
Red Hat Enterprise Linux 7tomcat-libNot affected
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiNot affected
Red Hat Enterprise Linux 7tomcat-webappsNot affected
Maven libraryorg.apache.tomcat.embed:tomcat-embed-jasperFixed10.1.32GHSA-f632-9449-3j4w
Maven libraryorg.apache.tomcat:tomcatFixed9.0.97GHSA-f632-9449-3j4w
Maven libraryorg.apache.tomcat:tomcat-jasperFixed11.0.1GHSA-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.

Vendor advisories:

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.