{"id":"CVE-2024-50379","state":"PUBLISHED","title":"Apache Tomcat: RCE due to TOCTOU issue in JSP compilation","description":"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.","publishedAt":"2024-12-17T12:34:54.827Z","updatedAt":"2025-11-03T20:45:15.148Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache Tomcat"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Tomcat","defaultStatus":"unaffected","versions":[{"version":"11.0.0-M1","status":"affected","lessThanOrEqual":"11.0.1","versionType":"semver"},{"version":"10.1.0-M1","status":"affected","lessThanOrEqual":"10.1.33","versionType":"semver"},{"version":"9.0.0.M1","status":"affected","lessThanOrEqual":"9.0.97","versionType":"semver"},{"version":"8.5.0","status":"affected","lessThanOrEqual":"8.5.100","versionType":"semver"},{"version":"3","status":"unknown","lessThan":"8.5.0","versionType":"semver"},{"version":"10.0.0-M1","status":"unknown","lessThanOrEqual":"10.0.27","versionType":"semver"}]}],"references":["https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r","http://www.openwall.com/lists/oss-security/2024/12/17/4","http://www.openwall.com/lists/oss-security/2024/12/18/2","https://security.netapp.com/advisory/ntap-20250103-0003/","https://lists.debian.org/debian-lts-announce/2025/01/msg00009.html"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/50xxx/CVE-2024-50379.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50379","state":"PUBLISHED","datePublished":"2024-12-17T12:34:54.827Z","dateUpdated":"2025-11-03T20:45:15.148Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2024-10-23T13:31:10.241Z"},"containers":{"cna":{"title":"Apache Tomcat: RCE due to TOCTOU issue in JSP compilation","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Tomcat","defaultStatus":"unaffected","versions":[{"version":"11.0.0-M1","status":"affected","lessThanOrEqual":"11.0.1","versionType":"semver"},{"version":"10.1.0-M1","status":"affected","lessThanOrEqual":"10.1.33","versionType":"semver"},{"version":"9.0.0.M1","status":"affected","lessThanOrEqual":"9.0.97","versionType":"semver"},{"version":"8.5.0","status":"affected","lessThanOrEqual":"8.5.100","versionType":"semver"},{"version":"3","status":"unknown","lessThan":"8.5.0","versionType":"semver"},{"version":"10.0.0-M1","status":"unknown","lessThanOrEqual":"10.0.27","versionType":"semver"}]}],"references":[{"url":"https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"important"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2025-10-29T11:51:41.706Z"},"credits":[{"lang":"en","type":"finder","value":"Nacl, WHOAMI, Yemoli and Ruozhi"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-03-19T00:00:00+00:00","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2024-50379"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-20T03:55:50.524Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2024/12/17/4"},{"url":"http://www.openwall.com/lists/oss-security/2024/12/18/2"},{"url":"https://security.netapp.com/advisory/ntap-20250103-0003/"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00009.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:45:15.148Z"}}]}}}