<?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 ant is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2</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-2021-1277</ID>
		</Identification>
		<Status>Final</Status>
		<Version>1.0</Version>
		<RevisionHistory>
			<Revision>
				<Number>1.0</Number>
				<Date>2021-07-24</Date>
				<Description>Initial</Description>
			</Revision>
		</RevisionHistory>
		<InitialReleaseDate>2021-07-24</InitialReleaseDate>
		<CurrentReleaseDate>2021-07-24</CurrentReleaseDate>
		<Generator>
			<Engine>openEuler SA Tool V1.0</Engine>
			<Date>2021-07-24</Date>
		</Generator>
	</DocumentTracking>
	<DocumentNotes>
		<Note Title="Synopsis" Type="General" Ordinal="1" xml:lang="en">ant security update</Note>
		<Note Title="Summary" Type="General" Ordinal="2" xml:lang="en">An update for ant is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.</Note>
		<Note Title="Description" Type="General" Ordinal="3" xml:lang="en">Ant is a Java based build tool. In theory it is kind of like "make" without makes wrinkles and with the full portability of pure java code.

Security Fix(es):

When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memory that finally leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Apache Ant prior to 1.9.16 and 1.10.11 were affected.(CVE-2021-36373)

When reading a specially crafted ZIP archive, or a derived formats, an Apache Ant build can be made to allocate large amounts of memory that leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Commonly used derived formats from ZIP archives are for instance JAR files and many office files. Apache Ant prior to 1.9.16 and 1.10.11 were affected.(CVE-2021-36374)</Note>
		<Note Title="Topic" Type="General" Ordinal="4" xml:lang="en">An update for ant is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.

openEuler Security has rated this update as having a security impact of medium. 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">Medium</Note>
		<Note Title="Affected Component" Type="General" Ordinal="6" xml:lang="en">ant</Note>
	</DocumentNotes>
	<DocumentReferences>
		<Reference Type="Self">
			<URL>https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1277</URL>
		</Reference>
		<Reference Type="openEuler CVE">
			<URL>https://openeuler.org/en/security/cve/detail.html?id=CVE-2021-36373</URL>
			<URL>https://openeuler.org/en/security/cve/detail.html?id=CVE-2021-36374</URL>
		</Reference>
		<Reference Type="Other">
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2021-36373</URL>
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2021-36374</URL>
		</Reference>
	</DocumentReferences>
	<ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
		<Branch Type="Product Name" Name="openEuler">
			<FullProductName ProductID="openEuler-20.03-LTS-SP1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">openEuler-20.03-LTS-SP1</FullProductName>
			<FullProductName ProductID="openEuler-20.03-LTS-SP2" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">openEuler-20.03-LTS-SP2</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="noarch">
			<FullProductName ProductID="ant-apache-regexp-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-apache-regexp-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-lib-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-lib-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-resolver-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-apache-resolver-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-commons-logging-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-commons-logging-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-log4j-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-apache-log4j-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-javamail-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-javamail-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-oro-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-apache-oro-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-xalan2-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-apache-xalan2-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-bsf-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-apache-bsf-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-antlr-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-antlr-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-jsch-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-jsch-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-xz-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-xz-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-jmf-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-jmf-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-help-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-help-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-commons-net-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-commons-net-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-junit-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-junit-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-bcel-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-apache-bcel-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-jdepend-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-jdepend-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-junit5-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-junit5-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-testutil-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-testutil-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-swing-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-swing-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-imageio-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-imageio-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-regexp-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-apache-regexp-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-lib-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-lib-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-resolver-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-apache-resolver-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-commons-logging-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-commons-logging-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-log4j-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-apache-log4j-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-javamail-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-javamail-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-oro-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-apache-oro-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-xalan2-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-apache-xalan2-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-bsf-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-apache-bsf-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-antlr-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-antlr-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-jsch-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-jsch-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-xz-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-xz-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-jmf-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-jmf-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-help-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-help-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-commons-net-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-commons-net-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-junit-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-junit-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-apache-bcel-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-apache-bcel-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-jdepend-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-jdepend-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-junit5-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-junit5-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-testutil-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-testutil-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-swing-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-swing-1.10.8-4.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="ant-imageio-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-imageio-1.10.8-4.oe1.noarch.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="src">
			<FullProductName ProductID="ant-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">ant-1.10.8-4.oe1.src.rpm</FullProductName>
			<FullProductName ProductID="ant-1.10.8-4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">ant-1.10.8-4.oe1.src.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">When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memory that finally leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Apache Ant prior to 1.9.16 and 1.10.11 were affected.</Note>
		</Notes>
		<ReleaseDate>2021-07-24</ReleaseDate>
		<CVE>CVE-2021-36373</CVE>
		<ProductStatuses>
			<Status Type="Fixed">
				<ProductID>openEuler-20.03-LTS-SP1</ProductID>
				<ProductID>openEuler-20.03-LTS-SP2</ProductID>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>Medium</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>5.5</BaseScore>
				<Vector>AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>ant security update</Description>
				<DATE>2021-07-24</DATE>
				<URL>https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1277</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
	<Vulnerability Ordinal="2" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
		<Notes>
			<Note Title="Vulnerability Description" Type="General" Ordinal="2" xml:lang="en">When reading a specially crafted ZIP archive, or a derived formats, an Apache Ant build can be made to allocate large amounts of memory that leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Commonly used derived formats from ZIP archives are for instance JAR files and many office files. Apache Ant prior to 1.9.16 and 1.10.11 were affected.</Note>
		</Notes>
		<ReleaseDate>2021-07-24</ReleaseDate>
		<CVE>CVE-2021-36374</CVE>
		<ProductStatuses>
			<Status Type="Fixed">
				<ProductID>openEuler-20.03-LTS-SP1</ProductID>
				<ProductID>openEuler-20.03-LTS-SP2</ProductID>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>Medium</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>5.5</BaseScore>
				<Vector>AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>ant security update</Description>
				<DATE>2021-07-24</DATE>
				<URL>https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1277</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
</cvrfdoc>