Time-of-check Time-of-use (TOCTOU) Affecting jws5-tomcat-el-3.0-api package, versions <0:9.0.87-6.redhat_00006.1.el8jws


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-JWS5TOMCATEL30API-8643213
  • published17 Jan 2025
  • disclosed17 Dec 2024

Introduced: 17 Dec 2024

CVE-2024-50379  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade RHEL:8 jws5-tomcat-el-3.0-api to version 0:9.0.87-6.redhat_00006.1.el8jws or higher.
This issue was patched in RHSA-2025:0361.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jws5-tomcat-el-3.0-api package and not the jws5-tomcat-el-3.0-api package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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.

Users are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.

CVSS Scores

version 3.1