<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
	<DocumentTitle xml:lang="en">An update for tomcat is now available for openEuler-22.03-LTS-SP4,openEuler-24.03-LTS,openEuler-24.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS-SP3</DocumentTitle>
	<DocumentType>Security Advisory</DocumentType>
	<DocumentPublisher Type="Vendor">
		<ContactDetails>openeuler-security@openeuler.org</ContactDetails>
		<IssuingAuthority>openEuler security committee</IssuingAuthority>
	</DocumentPublisher>
	<DocumentTracking>
		<Identification>
			<ID>openEuler-SA-2025-1226</ID>
		</Identification>
		<Status>Final</Status>
		<Version>1.0</Version>
		<RevisionHistory>
			<Revision>
				<Number>1.0</Number>
				<Date>2025-02-28</Date>
				<Description>Initial</Description>
			</Revision>
		</RevisionHistory>
		<InitialReleaseDate>2025-02-28</InitialReleaseDate>
		<CurrentReleaseDate>2025-02-28</CurrentReleaseDate>
		<Generator>
			<Engine>openEuler SA Tool V1.0</Engine>
			<Date>2025-02-28</Date>
		</Generator>
	</DocumentTracking>
	<DocumentNotes>
		<Note Title="Synopsis" Type="General" Ordinal="1" xml:lang="en">tomcat security update</Note>
		<Note Title="Summary" Type="General" Ordinal="2" xml:lang="en">An update for tomcat is now available for openEuler-22.03-LTS-SP4,openEuler-24.03-LTS,openEuler-24.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS-SP3</Note>
		<Note Title="Description" Type="General" Ordinal="3" xml:lang="en">The Apache Tomcat software is developed in an open and participatory environment and released under the Apache License version 2. The Apache Tomcat project is intended to be a collaboration of the best-of-breed developers from around the world. We invite you to participate in this open development project

Security Fix(es):

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.(CVE-2024-56337)</Note>
		<Note Title="Topic" Type="General" Ordinal="4" xml:lang="en">An update for tomcat is now available for master/openEuler-20.03-LTS-SP4/openEuler-22.03-LTS-SP3/openEuler-22.03-LTS-SP4/openEuler-24.03-LTS/openEuler-24.03-LTS-Next/openEuler-24.03-LTS-SP1.

openEuler Security has rated this update as having a security impact of critical. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.</Note>
		<Note Title="Severity" Type="General" Ordinal="5" xml:lang="en">Critical</Note>
		<Note Title="Affected Component" Type="General" Ordinal="6" xml:lang="en">tomcat</Note>
	</DocumentNotes>
	<DocumentReferences>
		<Reference Type="Self">
			<URL>https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1226</URL>
		</Reference>
		<Reference Type="openEuler CVE">
			<URL>https://www.openeuler.org/en/security/cve/detail/?cveId=CVE-2024-56337</URL>
		</Reference>
		<Reference Type="Other">
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2024-56337</URL>
		</Reference>
	</DocumentReferences>
	<ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
		<Branch Type="Product Name" Name="openEuler">
			<FullProductName ProductID="openEuler-22.03-LTS-SP4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">openEuler-22.03-LTS-SP4</FullProductName>
			<FullProductName ProductID="openEuler-24.03-LTS" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">openEuler-24.03-LTS</FullProductName>
			<FullProductName ProductID="openEuler-24.03-LTS-SP1" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">openEuler-24.03-LTS-SP1</FullProductName>
			<FullProductName ProductID="openEuler-20.03-LTS-SP4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">openEuler-20.03-LTS-SP4</FullProductName>
			<FullProductName ProductID="openEuler-22.03-LTS-SP3" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">openEuler-22.03-LTS-SP3</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="src">
			<FullProductName ProductID="tomcat-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">tomcat-9.0.100-1.oe2203sp4.src.rpm</FullProductName>
			<FullProductName ProductID="tomcat-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">tomcat-9.0.100-1.oe2403.src.rpm</FullProductName>
			<FullProductName ProductID="tomcat-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">tomcat-9.0.100-1.oe2403sp1.src.rpm</FullProductName>
			<FullProductName ProductID="tomcat-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">tomcat-9.0.100-1.oe2003sp4.src.rpm</FullProductName>
			<FullProductName ProductID="tomcat-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">tomcat-9.0.100-1.oe2203sp3.src.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="noarch">
			<FullProductName ProductID="tomcat-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">tomcat-9.0.100-1.oe2203sp4.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-help-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">tomcat-help-9.0.100-1.oe2203sp4.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-jsvc-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">tomcat-jsvc-9.0.100-1.oe2203sp4.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">tomcat-9.0.100-1.oe2403.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-help-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">tomcat-help-9.0.100-1.oe2403.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-jsvc-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">tomcat-jsvc-9.0.100-1.oe2403.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">tomcat-9.0.100-1.oe2403sp1.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-help-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">tomcat-help-9.0.100-1.oe2403sp1.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-jsvc-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">tomcat-jsvc-9.0.100-1.oe2403sp1.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">tomcat-9.0.100-1.oe2003sp4.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-help-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">tomcat-help-9.0.100-1.oe2003sp4.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-jsvc-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">tomcat-jsvc-9.0.100-1.oe2003sp4.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">tomcat-9.0.100-1.oe2203sp3.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-help-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">tomcat-help-9.0.100-1.oe2203sp3.noarch.rpm</FullProductName>
			<FullProductName ProductID="tomcat-jsvc-9.0.100-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">tomcat-jsvc-9.0.100-1.oe2203sp3.noarch.rpm</FullProductName>
		</Branch>
	</ProductTree>
	<Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
		<Notes>
			<Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">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.</Note>
		</Notes>
		<ReleaseDate>2025-02-28</ReleaseDate>
		<CVE>CVE-2024-56337</CVE>
		<ProductStatuses>
			<Status Type="Fixed">
				<ProductID>openEuler-22.03-LTS-SP4</ProductID>
				<ProductID>openEuler-24.03-LTS</ProductID>
				<ProductID>openEuler-24.03-LTS-SP1</ProductID>
				<ProductID>openEuler-20.03-LTS-SP4</ProductID>
				<ProductID>openEuler-22.03-LTS-SP3</ProductID>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>Critical</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>9.8</BaseScore>
				<Vector>AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>tomcat security update</Description>
				<DATE>2025-02-28</DATE>
				<URL>https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1226</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
</cvrfdoc>