Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2024-50379

tomcat: RCE due to TOCTOU issue in JSP compilation

Overview

Published
17 Dec 2024
Modified
3 Nov 2026
Critical CVE
5 Registry packages
63 OS packages
13 Linux distributions
Yes Fix available

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).

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.

Source: OX vulnerability database

Severity

9.8 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-367

Affected packages · 5

Packages affected by CVE-2024-50379
EcosystemPackageVulnerableFixed in
Bitnami tomcat >=9.0.0, <9.0.98>=10.0.0, <10.1.34>=11.0.0, <11.0.2 9.0.9810.1.3411.0.2
Maven org.apache.tomcat:tomcat-catalina >=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 11.0.210.1.349.0.98
Maven org.apache.tomcat.embed:tomcat-embed-core >=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 11.0.210.1.349.0.98
Seal Maven org.apache.tomcat.embed:tomcat-embed-core >=10.1.10+sp0, <10.1.10+sp2>=10.1.5+sp0, <10.1.5+sp2>=9.0.46+sp0, <9.0.46+sp2>=9.0.58+sp0, <9.0.58+sp2>=9.0.68+sp0, <9.0.68+sp2+2 more 10.1.10+sp210.1.5+sp29.0.46+sp29.0.58+sp29.0.68+sp2
Seal Maven seal.sp1.org.apache.tomcat.embed:tomcat-embed-core >=10.1.10, <10.1.10+sp999>=10.1.5, <10.1.5+sp999>=9.0.46, <9.0.46+sp999>=9.0.58, <9.0.58+sp999>=9.0.68, <9.0.68+sp999+2 more 10.1.10+sp99910.1.5+sp9999.0.46+sp9999.0.58+sp9999.0.68+sp999

Open a package to see all its vulnerabilities.

Operating systems · 49 fixes

Oracle Linux 2 releases · 1 package

fixed 2
tomcat
Oracle Linux fixes for CVE-2024-50379
ReleasePackageFixed in
8 tomcat +7 1:9.0.87-1.el8_10.3
9 tomcat +7 1:9.0.87-2.el9_5.1

Photon OS 2 releases · 1 package

fixed 2
apache-tomcat9
Photon OS fixes for CVE-2024-50379
ReleasePackageFixed in
4.0 apache-tomcat9 +1 9.0.98-1.ph4
5.0 apache-tomcat9 +1 9.0.98-1.ph5

Red Hat 4 releases · 4 packages

affected 2 fixed 11 wont fix 1
tomcat jws5-tomcat jws6-tomcat pki-servlet-4-0-api
Red Hat fixes for CVE-2024-50379
ReleasePackageFixed inAdvisory
7 tomcat affected —
7 jws5-tomcat +11 0:9.0.87-6.redhat_00006.1.el7jws RHSA-2025:0361
8 jws6-tomcat +9 0:10.1.8-15.redhat_00022.1.el8jws RHSA-2025:0342
8 jws5-tomcat +9 0:9.0.87-6.redhat_00006.1.el8jws RHSA-2025:0361
8 tomcat +7 1:9.0.87-1.el8_10.3 RHSA-2025:3683
8 tomcat +7 1:9.0.87-1.el8_8.4 RHSA-2025:3684

8 more rows

SUSE Linux Enterprise 4 releases · 2 packages

fixed 6
tomcat tomcat10
SUSE Linux Enterprise fixes for CVE-2024-50379
ReleasePackageFixed inAdvisory
12.5 tomcat +8 9.0.36-3.136.1 SUSE-SU-2025:0394-1
15.4 tomcat +6 9.0.98-150200.74.1 SUSE-SU-2025:0058-1
15.5 tomcat10 +6 10.1.34-150200.5.31.1 SUSE-SU-2025:0033-1
15.5 tomcat +6 9.0.98-150200.74.1 SUSE-SU-2025:0058-1
15.6 tomcat10 +6 10.1.34-150200.5.31.1 SUSE-SU-2025:0033-1
15.6 tomcat +6 9.0.98-150200.74.1 SUSE-SU-2025:0058-1

alma 3 releases · 2 packages

fixed 3
tomcat9 tomcat
alma fixes for CVE-2024-50379
ReleasePackageFixed in
10 tomcat9 +7 1:9.0.87-5.el10_0.1
8 tomcat +7 1:9.0.87-1.el8_10.3
9 tomcat +7 1:9.0.87-2.el9_5.1

amazon linux 1 release · 2 packages

fixed 2
tomcat10 tomcat9
amazon linux fixes for CVE-2024-50379
ReleasePackageFixed in
2023 tomcat10 +7 1:10.1.34-1.amzn2023.0.1
2023 tomcat9 +7 1:9.0.98-1.amzn2023.0.1

chainguard 1 release · 1 package

fixed 1
thingsboard
chainguard fixes for CVE-2024-50379
ReleasePackageFixed in
thingsboard 3.9-r1

debian 4 releases · 2 packages

fixed 7
tomcat9 tomcat10
debian fixes for CVE-2024-50379
ReleasePackageFixed in
11 tomcat9 9.0.43-2~deb11u11
12 tomcat10 10.1.34-0+deb12u1
12 tomcat9 9.0.70-2
13 tomcat10 10.1.34-1
13 tomcat9 9.0.70-2
14 tomcat10 10.1.34-1

1 more row

echo 1 release · 2 packages

fixed 2
tomcat10 tomcat9
echo fixes for CVE-2024-50379
ReleasePackageFixed in
tomcat10 10.1.34-0+deb12u1
tomcat9 9.0.70-2

openSUSE 1 release · 2 packages

fixed 2
tomcat10 tomcat
openSUSE fixes for CVE-2024-50379
ReleasePackageFixed inAdvisory
Tumbleweed tomcat10 +10 10.1.34-1.1 openSUSE-SU-2025:14623-1
Tumbleweed tomcat +10 9.0.98-1.1 openSUSE-SU-2025:14622-1

rocky 2 releases · 1 package

fixed 2
tomcat
rocky fixes for CVE-2024-50379
ReleasePackageFixed in
8 tomcat +7 1:9.0.87-1.el8_10.3
9 tomcat +7 1:9.0.87-2.el9_5.1

ubuntu 5 releases · 2 packages

affected 5
tomcat9 tomcat10
ubuntu fixes for CVE-2024-50379
ReleasePackageFixed in
18.04-ESM tomcat9 affected
20.04-ESM tomcat9 affected
22.04 tomcat9 affected
24.04 tomcat10 +1 affected
26.04 tomcat9 affected

wolfi 1 release · 1 package

fixed 1
thingsboard
wolfi fixes for CVE-2024-50379
ReleasePackageFixed in
thingsboard 3.9-r1

References

Show all 37 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.