ADVISORIES

Red Hat VEX

RHVEX-CVE-2024-50379

tomcat: RCE due to TOCTOU issue in JSP compilation

Moderate No fix available CVE-2024-50379

Details

A flaw was found in Tomcat. A Time-of-check Time-of-use (TOCTOU) race condition occurs during JSP compilation on case-insensitive file systems when the default servlet is enabled for writing. This vulnerability allows an uploaded file to be treated as a JSP and executed, resulting in remote code execution.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8pki-servlet-4.0-api
All versions, will not be fixed
Red Hat:enterprise_linux:8pki-servlet-engine
All versions, will not be fixed
Red Hat:enterprise_linux:9pki-servlet-4.0-api
All versions, no fix yet
Red Hat:enterprise_linux:9pki-servlet-engine
All versions, no fix yet

References