{"id":"CVE-2024-50379","aliases":["CVE-2024-50379","GHSA-5j33-cvvr-w245","BIT-TOMCAT-2024-50379"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Tomcat: RCE due to TOCTOU issue in JSP compilation","summary":"Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat permits an RCE on case insensitive file systems when the default servlet is enabled for write (non-default configuration).\n\nThis issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97.\n\nThe following versions were EOL at the time the CVE was created but are \nknown to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected.\n\nUsers are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat permits an RCE on case insensitive file systems when the default servlet is enabled for write (non-default configuration).\n\nThis issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97.\n\nThe following versions were EOL at the time the CVE was created but are \nknown to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected.\n\nUsers are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.","source":"cvelist"},{"lang":"es","text":"La vulnerabilidad de condición de ejecución de tiempo de uso y tiempo de verificación (TOCTOU) durante la compilación de JSP en Apache Tomcat permite un RCE en sistemas de archivos que no distinguen entre mayúsculas y minúsculas cuando el servlet predeterminado está habilitado para escritura (configuración no predeterminada). Este problema afecta a Apache Tomcat: desde 11.0.0-M1 hasta 11.0.1, desde 10.1.0-M1 hasta 10.1.33, desde 9.0.0.M1 hasta 9.0.97. Se recomienda a los usuarios que actualicen a la versión 11.0.2, 10.1.34 o 9.0.08, que soluciona el problema.","source":"nvd"},{"lang":"en","text":"Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat permits an RCE on case insensitive file systems when the default servlet is enabled for write (non-default configuration).\n\nThis issue affects Apache Tomcat: from 11.0.0 through 11.0.1, from 10.1.0 through 10.1.33, from 9.0.0 through 9.0.97.\n\nThe following versions were EOL at the time the CVE was created but are \nknown to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected.\n\nUsers are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.","format":"markdown","source":"bitnami"}],"published":"2024-12-17T12:34:54.827Z","modified":"2026-11-04T00:07:07.076Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-367"],"affected":[{"ranges":[{"type":"semver","introduced":"11.0.0-M1","lastAffected":"11.0.1","status":"affected"},{"type":"semver","introduced":"10.1.0-M1","lastAffected":"10.1.33","status":"affected"},{"type":"semver","introduced":"9.0.0.M1","lastAffected":"9.0.97","status":"affected"},{"type":"semver","introduced":"8.5.0","lastAffected":"8.5.100","status":"affected"},{"type":"semver","introduced":"3","fixed":"8.5.0","status":"unknown"},{"type":"semver","introduced":"10.0.0-M1","lastAffected":"10.0.27","status":"unknown"}],"vendor":"Apache Software Foundation","product":"Apache Tomcat","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0-M1","status":"affected","fixed":"11.0.2"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"10.1.0-M1","status":"affected","fixed":"10.1.34"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0.M1","status":"affected","fixed":"9.0.98"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0-M1","status":"affected","fixed":"11.0.2"}],"ecosystem":"Maven","package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"10.1.0-M1","status":"affected","fixed":"10.1.34"}],"ecosystem":"Maven","package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0.M1","status":"affected","fixed":"9.0.98"}],"ecosystem":"Maven","package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.5.0","status":"affected","lastAffected":"8.5.100"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.5.0","status":"affected","lastAffected":"8.5.100"}],"ecosystem":"Maven","package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"9.0.0","fixed":"9.0.98"},{"status":"affected","introduced":"10.1.0","fixed":"10.1.34"},{"status":"affected","introduced":"11.0.0","fixed":"11.0.2"}],"vendor":"apache","product":"tomcat","cpe":"cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"bootstrap_os","cpe":"cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.0.98"},{"type":"semver","introduced":"10.0.0","status":"affected","fixed":"10.1.34"},{"type":"semver","introduced":"11.0.0","status":"affected","fixed":"11.0.2"}],"ecosystem":"Bitnami","package":"tomcat","purl":"pkg:bitnami/tomcat","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2024/12/17/4","tags":["discussion","mailing-list","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2024/12/18/2","tags":["discussion","mailing-list","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20250103-0003/","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00009.html","tags":["web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50379","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/tomcat/commit/05ddeeaa54df1e2dc427d0164bedd6b79f78d81f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tomcat/commit/43b507ebac9d268b1ea3d908e296cc6e46795c00","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tomcat/commit/631500b0c9b2a2a2abb707e3de2e10a5936e5d41","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tomcat/commit/684247ae85fa633b9197b32391de59fc54703842","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tomcat/commit/8554f6b1722b33a2ce8b0a3fad37825f3a75f2d2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tomcat/commit/cc7a98b57c6dc1df21979fcff94a36e068f4456c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tomcat","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20250103-0003","tags":["web"],"sources":["ghsa"]},{"url":"https://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.1.34","tags":["web"],"sources":["ghsa"]},{"url":"https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.2","tags":["web"],"sources":["ghsa"]},{"url":"https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.98","tags":["web"],"sources":["ghsa"]}],"credits":["Nacl, WHOAMI, Yemoli and Ruozhi"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-03-20T03:55:51.848Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50379","url":"https://www.cve.org/CVERecord?id=CVE-2024-50379","licence":"CVE Terms of Use","modified":"2026-11-04T00:07:07.076Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5j33-cvvr-w245","url":"https://github.com/advisories/GHSA-5j33-cvvr-w245","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:21.575Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50379","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50379","licence":"Public domain","modified":"2026-11-03T22:17:26.637Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-TOMCAT-2024-50379","url":"https://osv.dev/vulnerability/BIT-TOMCAT-2024-50379","licence":"Apache-2.0","modified":"2026-09-08T08:48:20.825Z"}],"updatedAt":"2026-11-25T22:58:50.197Z","epss":{"score":0.42749,"percentile":0.98737,"date":"2026-12-01T12:00:22.000Z"}}