{"id":"UBUNTU-CVE-2024-50379","details":"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). This 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. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.","modified":"2026-07-30T01:30:13.131385176Z","published":"2024-12-17T13:15:00Z","related":["USN-7705-1"],"upstream":["CVE-2024-50379"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-50379"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-50379"},{"type":"REPORT","url":"https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/8554f6b1722b33a2ce8b0a3fad37825f3a75f2d2"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/05ddeeaa54df1e2dc427d0164bedd6b79f78d81f"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/43b507ebac9d268b1ea3d908e296cc6e46795c00"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/631500b0c9b2a2a2abb707e3de2e10a5936e5d41"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2024/12/17/4"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7705-1"}],"affected":[{"package":{"name":"tomcat9","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/tomcat9?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0.16-3~18.04.1","9.0.16-3ubuntu0.18.04.1","9.0.16-3ubuntu0.18.04.2","9.0.16-3ubuntu0.18.04.2+esm1","9.0.16-3ubuntu0.18.04.2+esm2","9.0.16-3ubuntu0.18.04.2+esm3","9.0.16-3ubuntu0.18.04.2+esm4","9.0.16-3ubuntu0.18.04.2+esm5","9.0.16-3ubuntu0.18.04.2+esm6","9.0.16-3ubuntu0.18.04.2+esm7","9.0.16-3ubuntu0.18.04.2+esm8"],"ecosystem_specific":{"binaries":[{"binary_name":"libtomcat9-embed-java","binary_version":"9.0.16-3ubuntu0.18.04.2+esm8"},{"binary_name":"libtomcat9-java","binary_version":"9.0.16-3ubuntu0.18.04.2+esm8"},{"binary_version":"9.0.16-3ubuntu0.18.04.2+esm8","binary_name":"tomcat9"},{"binary_name":"tomcat9-admin","binary_version":"9.0.16-3ubuntu0.18.04.2+esm8"},{"binary_version":"9.0.16-3ubuntu0.18.04.2+esm8","binary_name":"tomcat9-common"},{"binary_version":"9.0.16-3ubuntu0.18.04.2+esm8","binary_name":"tomcat9-docs"},{"binary_name":"tomcat9-examples","binary_version":"9.0.16-3ubuntu0.18.04.2+esm8"},{"binary_name":"tomcat9-user","binary_version":"9.0.16-3ubuntu0.18.04.2+esm8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50379.json"}},{"package":{"name":"tomcat9","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/tomcat9?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0.24-1","9.0.27-1","9.0.31-1","9.0.31-1ubuntu0.1","9.0.31-1ubuntu0.2","9.0.31-1ubuntu0.3","9.0.31-1ubuntu0.4","9.0.31-1ubuntu0.5","9.0.31-1ubuntu0.6","9.0.31-1ubuntu0.7","9.0.31-1ubuntu0.8","9.0.31-1ubuntu0.9","9.0.31-1ubuntu0.9+esm1","9.0.31-1ubuntu0.9+esm2","9.0.31-1ubuntu0.9+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"libtomcat9-embed-java","binary_version":"9.0.31-1ubuntu0.9+esm3"},{"binary_version":"9.0.31-1ubuntu0.9+esm3","binary_name":"libtomcat9-java"},{"binary_version":"9.0.31-1ubuntu0.9+esm3","binary_name":"tomcat9"},{"binary_version":"9.0.31-1ubuntu0.9+esm3","binary_name":"tomcat9-admin"},{"binary_version":"9.0.31-1ubuntu0.9+esm3","binary_name":"tomcat9-common"},{"binary_name":"tomcat9-docs","binary_version":"9.0.31-1ubuntu0.9+esm3"},{"binary_version":"9.0.31-1ubuntu0.9+esm3","binary_name":"tomcat9-examples"},{"binary_version":"9.0.31-1ubuntu0.9+esm3","binary_name":"tomcat9-user"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50379.json"}},{"package":{"name":"tomcat9","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/tomcat9?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0.43-3","9.0.54-1","9.0.55-1","9.0.58-1","9.0.58-1ubuntu0.1","9.0.58-1ubuntu0.1+esm1","9.0.58-1ubuntu0.1+esm2","9.0.58-1ubuntu0.1+esm3","9.0.58-1ubuntu0.1+esm4","9.0.58-1ubuntu0.2","9.0.58-1ubuntu0.2+esm1","9.0.58-1ubuntu0.2+esm2","9.0.58-1ubuntu0.2+esm3","9.0.58-1ubuntu0.2+esm4"],"ecosystem_specific":{"binaries":[{"binary_version":"9.0.58-1ubuntu0.2+esm4","binary_name":"libtomcat9-embed-java"},{"binary_name":"libtomcat9-java","binary_version":"9.0.58-1ubuntu0.2+esm4"},{"binary_version":"9.0.58-1ubuntu0.2+esm4","binary_name":"tomcat9"},{"binary_version":"9.0.58-1ubuntu0.2+esm4","binary_name":"tomcat9-admin"},{"binary_version":"9.0.58-1ubuntu0.2+esm4","binary_name":"tomcat9-common"},{"binary_name":"tomcat9-docs","binary_version":"9.0.58-1ubuntu0.2+esm4"},{"binary_name":"tomcat9-examples","binary_version":"9.0.58-1ubuntu0.2+esm4"},{"binary_version":"9.0.58-1ubuntu0.2+esm4","binary_name":"tomcat9-user"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50379.json"}},{"package":{"name":"tomcat10","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/tomcat10?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.1.16-1ubuntu0.1~esm3"}]}],"versions":["10.1.10-1","10.1.14-1","10.1.15-1","10.1.16-1","10.1.16-1ubuntu0.1~esm1","10.1.16-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libtomcat10-embed-java","binary_version":"10.1.16-1ubuntu0.1~esm3"},{"binary_version":"10.1.16-1ubuntu0.1~esm3","binary_name":"libtomcat10-java"},{"binary_version":"10.1.16-1ubuntu0.1~esm3","binary_name":"tomcat10"},{"binary_name":"tomcat10-admin","binary_version":"10.1.16-1ubuntu0.1~esm3"},{"binary_version":"10.1.16-1ubuntu0.1~esm3","binary_name":"tomcat10-common"},{"binary_version":"10.1.16-1ubuntu0.1~esm3","binary_name":"tomcat10-docs"},{"binary_name":"tomcat10-examples","binary_version":"10.1.16-1ubuntu0.1~esm3"},{"binary_version":"10.1.16-1ubuntu0.1~esm3","binary_name":"tomcat10-user"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50379.json"}},{"package":{"name":"tomcat9","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/tomcat9?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0.70-1ubuntu1","9.0.70-2","9.0.70-2ubuntu0.1","9.0.70-2ubuntu0.1+esm1","9.0.70-2ubuntu0.1+esm2","9.0.70-2ubuntu0.1+esm3","9.0.118-1~24.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libtomcat9-java","binary_version":"9.0.118-1~24.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50379.json"}},{"package":{"name":"tomcat9","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/tomcat9?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0.70-2ubuntu1.1","9.0.70-2ubuntu2","9.0.70-2ubuntu3","9.0.95-1ubuntu1","9.0.95-1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libtomcat9-java","binary_version":"9.0.95-1ubuntu1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50379.json"}},{"package":{"name":"tomcat9","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/tomcat9?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0.95-1ubuntu1","9.0.111-1","9.0.115-1","9.0.115-1ubuntu0.1","9.0.118-1~26.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libtomcat9-java","binary_version":"9.0.118-1~26.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50379.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}