Skip to content
VulniPulse
Advisory severityUnratedApache Software Foundation

Advisory [CVE-2024-50379] Apache Tomcat: RCE due to TOCTOU issue in JSP compilation

This Apache Software Foundation security advisory covers CVE-2024-50379 affecting Apache Tomcat.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2024-50379 Source published Source updated

VulniPulse record published Record updated

Affected products & platforms
Apache Software FoundationTomcat
Open source advisory

Summary

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.

Is CVE-2024-50379 exploited?

No exploitation is reported in the sources VulniPulse tracks: CVE-2024-50379 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.

How do I fix CVE-2024-50379?

Upgrade to a fixed release named by Apache:

  • 11.0.2
  • 10.1.34
  • 9.0.98

Confirm against the vendor advisory before you patch.

Affected versions
  • Apache Tomcat 11.0.0-M1 through 11.0.1
  • Apache Tomcat 10.1.0-M1 through 10.1.33
  • Apache Tomcat 9.0.0.M1 through 9.0.97
  • Apache Tomcat 8.5.0 through 8.5.100

Official advisory · medium-confidence parse· fetched 7 days ago·verify at source

Fixed versions
  • 11.0.2
  • 10.1.34
  • 9.0.98

Official advisory · medium-confidence parse· fetched 7 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • Users are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.

Official advisory · medium-confidence parse· fetched 7 days ago·verify at source

Get an email when Apache Tomcat publishes the next one.

See Apache Tomcat's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).

Alert me about Apache Tomcat
All Apache Software Foundation advisories

iPhone and Android apps · New on the App Store

Monitor future Apache Software Foundation CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.