Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache Tomcat.
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.
The mitigation for CVE-2024-50379 was incomplete.
Users running Tomcat on a case insensitive file system with the default servlet write enabled (readonly initialisation parameter set to the non-default value of false) may need additional configuration to fully mitigate CVE-2024-50379 depending on which version of Java they are using with Tomcat:
Tomcat 11.0.3, 10.1.35 and 9.0.99 onwards will include checks that sun.io.useCanonCaches is set appropriately before allowing the default servlet to be write enabled on a case insensitive file system. Tomcat will also set sun.io.useCanonCaches to false by default where it can.
{
"cna_assigner": "apache",
"cwe_ids": [
"CWE-367"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56337.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"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"
},
{
"extracted_events": [
{
"introduced": "11.0.0-M1"
},
{
"fixed": "11.0.1"
},
{
"introduced": "10.1.0-M1"
},
{
"fixed": "10.1.33"
},
{
"introduced": "9.0.0.M1"
},
{
"fixed": "9.0.97"
}
],
"source": "DESCRIPTION"
}
]
}{
"cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "9.0.0"
},
{
"fixed": "9.0.98"
},
{
"introduced": "10.1.0"
},
{
"fixed": "10.1.34"
},
{
"introduced": "11.0.0"
},
{
"fixed": "11.0.2"
}
],
"source": "CPE_RANGE"
}