Ubuntu CVE Tracker
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | tomcat9 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | tomcat9 | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | tomcat9 | All versions, no fix listed |
| Ubuntu:24.04:LTS | tomcat10 | All versions before 10.1.61~us1-0ubuntu1~24.04.2 (fixed in 10.1.61~us1-0ubuntu1~24.04.2) |
| Ubuntu:Pro:24.04:LTS | tomcat10 | All versions before 10.1.16-1ubuntu0.1~esm3 (fixed in 10.1.16-1ubuntu0.1~esm3) |
| Ubuntu:24.04:LTS | tomcat9 | All versions, no fix listed |
| Ubuntu:25.10 | tomcat9 | All versions, no fix listed |
| Ubuntu:26.04:LTS | tomcat9 | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2024-50379
- https://www.cve.org/CVERecord?id=CVE-2024-50379
- https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r
- https://github.com/apache/tomcat/commit/8554f6b1722b33a2ce8b0a3fad37825f3a75f2d2
- https://github.com/apache/tomcat/commit/05ddeeaa54df1e2dc427d0164bedd6b79f78d81f
- https://github.com/apache/tomcat/commit/43b507ebac9d268b1ea3d908e296cc6e46795c00
- https://github.com/apache/tomcat/commit/631500b0c9b2a2a2abb707e3de2e10a5936e5d41
- http://www.openwall.com/lists/oss-security/2024/12/17/4
- https://ubuntu.com/security/notices/USN-7705-1
- https://ubuntu.com/security/notices/USN-9186-1