{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-50379","id":"CVE-2024-50379","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 ","descriptionLong":"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.","published":"2024-12-17T12:34:54.827Z","updated":"2026-11-05T02:30:35.215420323Z","reserved":"2024-10-23T13:31:10.241Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"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":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Apache Software Foundation Apache Tomcat"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Tomcat","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"11.0.1","status":"affected","version":"11.0.0-M1","versionType":"semver"},{"lessThanOrEqual":"10.1.33","status":"affected","version":"10.1.0-M1","versionType":"semver"},{"lessThanOrEqual":"9.0.97","status":"affected","version":"9.0.0.M1","versionType":"semver"},{"lessThanOrEqual":"8.5.100","status":"affected","version":"8.5.0","versionType":"semver"},{"lessThan":"8.5.0","status":"unknown","version":"3","versionType":"semver"},{"lessThanOrEqual":"10.0.27","status":"unknown","version":"10.0.0-M1","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","ranges":[">=11.0.0-M1 <11.0.2",">=10.1.0-M1 <10.1.34",">=9.0.0.M1 <9.0.98",">=8.5.0 <=8.5.100"],"fixed":["11.0.2","10.1.34","9.0.98"],"advisory":"GHSA-5j33-cvvr-w245"},{"ecosystem":"Maven","name":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","ranges":[">=11.0.0-M1 <11.0.2",">=10.1.0-M1 <10.1.34",">=9.0.0.M1 <9.0.98",">=8.5.0 <=8.5.100"],"fixed":["11.0.2","10.1.34","9.0.98"],"advisory":"GHSA-5j33-cvvr-w245"}],"cwes":["CWE-367"],"aliases":["BIT-tomcat-2024-50379","GHSA-5j33-cvvr-w245"],"references":[{"url":"https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r","tags":["vendor-advisory","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/12/17/4","tags":["Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/12/18/2","tags":["Mailing List","web"]},{"url":"https://security.netapp.com/advisory/ntap-20250103-0003/","tags":["Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00009.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50379.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50379","tags":["advisory"]},{"url":"https://github.com/apache/tomcat/commit/05ddeeaa54df1e2dc427d0164bedd6b79f78d81f","tags":["web"]},{"url":"https://github.com/apache/tomcat/commit/43b507ebac9d268b1ea3d908e296cc6e46795c00","tags":["web"]},{"url":"https://github.com/apache/tomcat/commit/631500b0c9b2a2a2abb707e3de2e10a5936e5d41","tags":["web"]},{"url":"https://github.com/apache/tomcat/commit/684247ae85fa633b9197b32391de59fc54703842","tags":["web"]},{"url":"https://github.com/apache/tomcat/commit/8554f6b1722b33a2ce8b0a3fad37825f3a75f2d2","tags":["web"]},{"url":"https://github.com/apache/tomcat/commit/cc7a98b57c6dc1df21979fcff94a36e068f4456c","tags":["web"]},{"url":"https://github.com/apache/tomcat","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20250103-0003","tags":["web"]},{"url":"https://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.1.34","tags":["web"]},{"url":"https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.2","tags":["web"]},{"url":"https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.98","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.42749,"epssPercentile":0.9874,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-50379","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50379","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-50379","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5j33-cvvr-w245","ok":true,"note":"GHSA-5j33-cvvr-w245"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-50379","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["tomcat"],"critical":["CVSS 9.8 in a widely used technology","EPSS 43% with CVSS 9.8"],"attention":null}