ADVISORIES

Red Hat VEX

RHVEX-CVE-2024-56337

tomcat: Incomplete fix for CVE-2024-50379 - RCE due to TOCTOU issue in JSP compilation

Moderate No fix available CVE-2024-56337

Details

The fix for CVE-2024-50379 in Apache Tomcat was insufficient to mitigate the issue fully. 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, will not be fixed
Red Hat:enterprise_linux:9pki-servlet-engine
All versions, will not be fixed

References