Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-56337 #4534

Open
github-actions bot opened this issue Jan 13, 2025 · 0 comments
Open

CVE-2024-56337 #4534

github-actions bot opened this issue Jan 13, 2025 · 0 comments
Labels
dependencies Pull requests that update a dependency file security Security and vulnerability related issues

Comments

@github-actions
Copy link
Contributor

tomcat: Incomplete fix for CVE-2024-50379 - RCE due to TOCTOU issue in JSP compilation

https://avd.aquasec.com/nvd/cve-2024-56337

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 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:

  • running on Java 8 or Java 11: the system property sun.io.useCanonCaches must be explicitly set to false (it defaults to true)
  • running on Java 17: the system property sun.io.useCanonCaches, if set, must be set to false (it defaults to false)
  • running on Java 21 onwards: no further configuration is required (the system property and the problematic cache have been removed)

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.

Projects:

  • accredited-programmes-and-oasys
  • appointment-reminders-and-delius
  • approved-premises-and-delius
  • approved-premises-and-oasys
  • arns-and-delius
  • assess-for-early-release-and-delius
  • assessment-summary-and-delius
  • cas2-and-delius
  • cas3-and-delius
  • common-platform-and-delius
  • core-person-record-and-delius
  • court-case-and-delius
  • create-and-vary-a-licence-and-delius
  • custody-key-dates-and-delius
  • domain-events-and-delius
  • dps-and-delius
  • effective-proposal-framework-and-delius
  • external-api-and-delius
  • hdc-licences-and-delius
  • hmpps-auth-and-delius
  • ims-and-delius
  • justice-email-and-delius
  • make-recall-decisions-and-delius
  • manage-offences-and-delius
  • manage-pom-cases-and-delius
  • manage-supervision-and-delius
  • manage-supervision-and-oasys
  • oasys-and-delius
  • offender-events-and-delius
  • opd-and-delius
  • pathfinder-and-delius
  • pre-sentence-reports-to-delius
  • prison-case-notes-to-probation
  • prison-custody-status-to-delius
  • prison-education-and-delius
  • prison-identifier-and-delius
  • prisoner-profile-and-delius
  • probation-search-and-delius
  • refer-and-monitor-and-delius
  • resettlement-passport-and-delius
  • risk-assessment-scores-to-delius
  • sentence-plan-and-delius
  • sentence-plan-and-oasys
  • soc-and-delius
  • subject-access-requests-and-delius
  • tier-to-delius
  • unpaid-work-and-delius
  • workforce-allocations-to-delius

Locations:

  • org.apache.tomcat.embed:tomcat-embed-core:10.1.33 (app/libs/tomcat-embed-core-10.1.33.jar)

References:

@github-actions github-actions bot added dependencies Pull requests that update a dependency file security Security and vulnerability related issues labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file security Security and vulnerability related issues
Projects
None yet
Development

No branches or pull requests

0 participants