CVE-2024-50379

Source
https://cve.org/CVERecord?id=CVE-2024-50379
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50379.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50379
Aliases
Downstream
CGA (10)
CLSA (10)
DEBIAN (1)
MGASA (1)
OESA (1)
openSUSE (2)
RHSA (8)
RLSA (2)
ROOT (1)
SUSE (4)
UBUNTU (1)
Related
Published
2024-12-17T12:34:54Z
Modified
2026-08-12T03:30:31Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Apache Tomcat: RCE due to TOCTOU issue in JSP compilation
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.

Database specific
{
    "cna_assigner":  "apache",
    "cwe_ids":  [
        "CWE-367"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50379.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"
        }
    ]
}
References

Affected packages

Git / github.com/apache/tomcat

Affected ranges

Type
GIT
Repo
https://github.com/apache/tomcat
Events
Database specific
Show details
{
    "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"
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50379.json"