GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
ubuntu-cve-2024-50379
Vulnerability from osv_ubuntu
Published
2024-12-17 13:15
Modified
2026-07-29 23:07
Summary
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.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libtomcat9-embed-java",
            "binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
          },
          {
            "binary_name": "libtomcat9-java",
            "binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
          },
          {
            "binary_name": "tomcat9",
            "binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
          },
          {
            "binary_name": "tomcat9-admin",
            "binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
          },
          {
            "binary_name": "tomcat9-common",
            "binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
          },
          {
            "binary_name": "tomcat9-docs",
            "binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
          },
          {
            "binary_name": "tomcat9-examples",
            "binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
          },
          {
            "binary_name": "tomcat9-user",
            "binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "tomcat9",
        "purl": "pkg:deb/ubuntu/tomcat9@9.0.16-3ubuntu0.18.04.2+esm8?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "9.0.16-3~18.04.1",
        "9.0.16-3ubuntu0.18.04.1",
        "9.0.16-3ubuntu0.18.04.2",
        "9.0.16-3ubuntu0.18.04.2+esm1",
        "9.0.16-3ubuntu0.18.04.2+esm2",
        "9.0.16-3ubuntu0.18.04.2+esm3",
        "9.0.16-3ubuntu0.18.04.2+esm4",
        "9.0.16-3ubuntu0.18.04.2+esm5",
        "9.0.16-3ubuntu0.18.04.2+esm6",
        "9.0.16-3ubuntu0.18.04.2+esm7",
        "9.0.16-3ubuntu0.18.04.2+esm8"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libtomcat9-embed-java",
            "binary_version": "9.0.31-1ubuntu0.9+esm3"
          },
          {
            "binary_name": "libtomcat9-java",
            "binary_version": "9.0.31-1ubuntu0.9+esm3"
          },
          {
            "binary_name": "tomcat9",
            "binary_version": "9.0.31-1ubuntu0.9+esm3"
          },
          {
            "binary_name": "tomcat9-admin",
            "binary_version": "9.0.31-1ubuntu0.9+esm3"
          },
          {
            "binary_name": "tomcat9-common",
            "binary_version": "9.0.31-1ubuntu0.9+esm3"
          },
          {
            "binary_name": "tomcat9-docs",
            "binary_version": "9.0.31-1ubuntu0.9+esm3"
          },
          {
            "binary_name": "tomcat9-examples",
            "binary_version": "9.0.31-1ubuntu0.9+esm3"
          },
          {
            "binary_name": "tomcat9-user",
            "binary_version": "9.0.31-1ubuntu0.9+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "tomcat9",
        "purl": "pkg:deb/ubuntu/tomcat9@9.0.31-1ubuntu0.9+esm3?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "9.0.24-1",
        "9.0.27-1",
        "9.0.31-1",
        "9.0.31-1ubuntu0.1",
        "9.0.31-1ubuntu0.2",
        "9.0.31-1ubuntu0.3",
        "9.0.31-1ubuntu0.4",
        "9.0.31-1ubuntu0.5",
        "9.0.31-1ubuntu0.6",
        "9.0.31-1ubuntu0.7",
        "9.0.31-1ubuntu0.8",
        "9.0.31-1ubuntu0.9",
        "9.0.31-1ubuntu0.9+esm1",
        "9.0.31-1ubuntu0.9+esm2",
        "9.0.31-1ubuntu0.9+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libtomcat9-embed-java",
            "binary_version": "9.0.58-1ubuntu0.2+esm4"
          },
          {
            "binary_name": "libtomcat9-java",
            "binary_version": "9.0.58-1ubuntu0.2+esm4"
          },
          {
            "binary_name": "tomcat9",
            "binary_version": "9.0.58-1ubuntu0.2+esm4"
          },
          {
            "binary_name": "tomcat9-admin",
            "binary_version": "9.0.58-1ubuntu0.2+esm4"
          },
          {
            "binary_name": "tomcat9-common",
            "binary_version": "9.0.58-1ubuntu0.2+esm4"
          },
          {
            "binary_name": "tomcat9-docs",
            "binary_version": "9.0.58-1ubuntu0.2+esm4"
          },
          {
            "binary_name": "tomcat9-examples",
            "binary_version": "9.0.58-1ubuntu0.2+esm4"
          },
          {
            "binary_name": "tomcat9-user",
            "binary_version": "9.0.58-1ubuntu0.2+esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "tomcat9",
        "purl": "pkg:deb/ubuntu/tomcat9@9.0.58-1ubuntu0.2+esm4?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "9.0.43-3",
        "9.0.54-1",
        "9.0.55-1",
        "9.0.58-1",
        "9.0.58-1ubuntu0.1",
        "9.0.58-1ubuntu0.1+esm1",
        "9.0.58-1ubuntu0.1+esm2",
        "9.0.58-1ubuntu0.1+esm3",
        "9.0.58-1ubuntu0.1+esm4",
        "9.0.58-1ubuntu0.2",
        "9.0.58-1ubuntu0.2+esm1",
        "9.0.58-1ubuntu0.2+esm2",
        "9.0.58-1ubuntu0.2+esm3",
        "9.0.58-1ubuntu0.2+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libtomcat10-embed-java",
            "binary_version": "10.1.16-1ubuntu0.1~esm3"
          },
          {
            "binary_name": "libtomcat10-java",
            "binary_version": "10.1.16-1ubuntu0.1~esm3"
          },
          {
            "binary_name": "tomcat10",
            "binary_version": "10.1.16-1ubuntu0.1~esm3"
          },
          {
            "binary_name": "tomcat10-admin",
            "binary_version": "10.1.16-1ubuntu0.1~esm3"
          },
          {
            "binary_name": "tomcat10-common",
            "binary_version": "10.1.16-1ubuntu0.1~esm3"
          },
          {
            "binary_name": "tomcat10-docs",
            "binary_version": "10.1.16-1ubuntu0.1~esm3"
          },
          {
            "binary_name": "tomcat10-examples",
            "binary_version": "10.1.16-1ubuntu0.1~esm3"
          },
          {
            "binary_name": "tomcat10-user",
            "binary_version": "10.1.16-1ubuntu0.1~esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "tomcat10",
        "purl": "pkg:deb/ubuntu/tomcat10@10.1.16-1ubuntu0.1~esm3?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "10.1.16-1ubuntu0.1~esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "10.1.10-1",
        "10.1.14-1",
        "10.1.15-1",
        "10.1.16-1",
        "10.1.16-1ubuntu0.1~esm1",
        "10.1.16-1ubuntu0.1~esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libtomcat9-java",
            "binary_version": "9.0.118-1~24.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "tomcat9",
        "purl": "pkg:deb/ubuntu/tomcat9@9.0.118-1~24.04.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "9.0.70-1ubuntu1",
        "9.0.70-2",
        "9.0.70-2ubuntu0.1",
        "9.0.70-2ubuntu0.1+esm1",
        "9.0.70-2ubuntu0.1+esm2",
        "9.0.70-2ubuntu0.1+esm3",
        "9.0.118-1~24.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libtomcat9-java",
            "binary_version": "9.0.95-1ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "tomcat9",
        "purl": "pkg:deb/ubuntu/tomcat9@9.0.95-1ubuntu1.1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "9.0.70-2ubuntu1.1",
        "9.0.70-2ubuntu2",
        "9.0.70-2ubuntu3",
        "9.0.95-1ubuntu1",
        "9.0.95-1ubuntu1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libtomcat9-java",
            "binary_version": "9.0.118-1~26.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "tomcat9",
        "purl": "pkg:deb/ubuntu/tomcat9@9.0.118-1~26.04.1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "9.0.95-1ubuntu1",
        "9.0.111-1",
        "9.0.115-1",
        "9.0.115-1ubuntu0.1",
        "9.0.118-1~26.04.1"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2024-50379",
  "modified": "2026-07-29T23:07:30Z",
  "published": "2024-12-17T13:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-50379"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-50379"
    },
    {
      "type": "REPORT",
      "url": "https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/apache/tomcat/commit/8554f6b1722b33a2ce8b0a3fad37825f3a75f2d2"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/apache/tomcat/commit/05ddeeaa54df1e2dc427d0164bedd6b79f78d81f"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/apache/tomcat/commit/43b507ebac9d268b1ea3d908e296cc6e46795c00"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/apache/tomcat/commit/631500b0c9b2a2a2abb707e3de2e10a5936e5d41"
    },
    {
      "type": "REPORT",
      "url": "http://www.openwall.com/lists/oss-security/2024/12/17/4"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7705-1"
    }
  ],
  "related": [
    "USN-7705-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-50379"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…