Apache Tomcat: RCE due to TOCTOU issue in JSP compilation
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-50379
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 06:19 UTC · Revision 1
Source evidence
Apache Tomcat: RCE due to TOCTOU issue in JSP compilation
core-osv · Original sourcePublished 17 Dec 2024, 12:34 UTC
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.
osv:CVE-2024-50379
Complete source record
{
"id": "339d8ebb87b3771d5d4b22e75f68c7719ec3acdabc7f04c5365bdec9b6495383",
"url": "https://osv.dev/vulnerability/CVE-2024-50379",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache Tomcat: RCE due to TOCTOU issue in JSP compilation",
"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.",
"evidence": "osv:CVE-2024-50379",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2024-50379",
"aliases": [
"BIT-tomcat-2024-50379",
"CVE-2024-50379",
"GHSA-5j33-cvvr-w245"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/tomcat",
"type": "GIT",
"events": [
{
"introduced": "16bf392c67833ad549733b58c350ff92b5ee782a"
},
{
"fixed": "727a8467a37e17fef91e12a65db4d56862d36171"
},
{
"introduced": "e9d17cddc285615807ec5fef09240777436b25dc"
},
{
"fixed": "acf7da1801a4751b282a70ced24b73c1046db831"
},
{
"introduced": "56e547d387ab49f688c93fe9ca082b1b5d94deed"
},
{
"fixed": "d428a82c122c86e64aa4ffc4a515aee31ba7a51e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "9.0.0"
},
{
"fixed": "9.0.98"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.1.0"
},
{
"fixed": "10.1.34"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "11.0.0"
},
{
"fixed": "11.0.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50379.json"
}
}
],
"modified": "2026-10-28T02:30:49.798050976Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2025/01/msg00009.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50379.json",
"https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r",
"https://nvd.nist.gov/vuln/detail/CVE-2024-50379",
"https://security.netapp.com/advisory/ntap-20250103-0003/"
],
"provider_metadata": {
"cwe_ids": [
"CWE-367"
],
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "11.0.0-M1"
},
{
"last_affected": "11.0.1"
},
{
"introduced": "10.1.0-M1"
},
{
"last_affected": "10.1.33"
},
{
"introduced": "9.0.0.M1"
},
{
"last_affected": "9.0.97"
},
{
"introduced": "8.5.0"
},
{
"last_affected": "8.5.100"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50379.json"
}
},
"related_cves": [
{
"value": "CVE-2024-50379",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518471,
"published_at": "2024-12-17T12:34:54.827+00:00"
}