<?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 git is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS and openEuler-22.03-LTS-SP1</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-2023-1059</ID>
		</Identification>
		<Status>Final</Status>
		<Version>1.0</Version>
		<RevisionHistory>
			<Revision>
				<Number>1.0</Number>
				<Date>2023-02-03</Date>
				<Description>Initial</Description>
			</Revision>
		</RevisionHistory>
		<InitialReleaseDate>2023-02-03</InitialReleaseDate>
		<CurrentReleaseDate>2023-02-03</CurrentReleaseDate>
		<Generator>
			<Engine>openEuler SA Tool V1.0</Engine>
			<Date>2023-02-03</Date>
		</Generator>
	</DocumentTracking>
	<DocumentNotes>
		<Note Title="Synopsis" Type="General" Ordinal="1" xml:lang="en">git security update</Note>
		<Note Title="Summary" Type="General" Ordinal="2" xml:lang="en">An update for git is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS and openEuler-22.03-LTS-SP1.</Note>
		<Note Title="Description" Type="General" Ordinal="3" xml:lang="en">Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.

Security Fix(es):

Git GUI is a convenient graphical tool that comes with Git for Windows. Its target audience is users who are uncomfortable with using Git on the command-line. Git GUI has a function to clone repositories. Immediately after the local clone is available, Git GUI will automatically post-process it, among other things running a spell checker called `aspell.exe` if it was found. Git GUI is implemented as a Tcl/Tk script. Due to the unfortunate design of Tcl on Windows, the search path when looking for an executable _always includes the current directory_. Therefore, malicious repositories can ship with an `aspell.exe` in their top-level directory which is executed by Git GUI without giving the user a chance to inspect it first, i.e. running untrusted code. This issue has been addressed in version 2.39.1. Users are advised to upgrade. Users unable to upgrade should avoid using Git GUI for cloning. If that is not a viable option, at least avoid cloning from untrusted sources.(CVE-2022-41953)</Note>
		<Note Title="Topic" Type="General" Ordinal="4" xml:lang="en">An update for git is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS and openEuler-22.03-LTS-SP1.

openEuler Security has rated this update as having a security impact of high. 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">High</Note>
		<Note Title="Affected Component" Type="General" Ordinal="6" xml:lang="en">git</Note>
	</DocumentNotes>
	<DocumentReferences>
		<Reference Type="Self">
			<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1059</URL>
		</Reference>
		<Reference Type="openEuler CVE">
			<URL>https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-41953</URL>
		</Reference>
		<Reference Type="Other">
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2022-41953</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-SP3" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">openEuler-20.03-LTS-SP3</FullProductName>
			<FullProductName ProductID="openEuler-22.03-LTS" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">openEuler-22.03-LTS</FullProductName>
			<FullProductName ProductID="openEuler-22.03-LTS-SP1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">openEuler-22.03-LTS-SP1</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="aarch64">
			<FullProductName ProductID="git-daemon-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-daemon-2.27.0-11.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-debugsource-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-debugsource-2.27.0-11.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-2.27.0-11.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-debuginfo-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-debuginfo-2.27.0-11.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-debuginfo-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-debuginfo-2.27.0-14.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-debugsource-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-debugsource-2.27.0-14.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-2.27.0-14.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-daemon-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-daemon-2.27.0-14.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-daemon-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-daemon-2.33.0-7.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-debugsource-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-debugsource-2.33.0-7.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-2.33.0-7.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-debuginfo-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-debuginfo-2.33.0-7.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-2.33.0-9.oe2203sp1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-debuginfo-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-debuginfo-2.33.0-9.oe2203sp1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-core-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-core-2.33.0-9.oe2203sp1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-debugsource-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-debugsource-2.33.0-9.oe2203sp1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="git-daemon-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-daemon-2.33.0-9.oe2203sp1.aarch64.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="noarch">
			<FullProductName ProductID="git-web-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-web-2.27.0-11.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-email-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-email-2.27.0-11.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="perl-Git-SVN-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">perl-Git-SVN-2.27.0-11.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-svn-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-svn-2.27.0-11.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="gitk-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">gitk-2.27.0-11.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="perl-Git-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">perl-Git-2.27.0-11.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-gui-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-gui-2.27.0-11.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-help-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-help-2.27.0-11.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="perl-Git-SVN-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">perl-Git-SVN-2.27.0-14.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="perl-Git-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">perl-Git-2.27.0-14.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-gui-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-gui-2.27.0-14.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-web-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-web-2.27.0-14.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-email-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-email-2.27.0-14.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="gitk-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">gitk-2.27.0-14.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-svn-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-svn-2.27.0-14.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-help-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-help-2.27.0-14.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="perl-Git-SVN-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">perl-Git-SVN-2.33.0-7.oe2203.noarch.rpm</FullProductName>
			<FullProductName ProductID="perl-Git-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">perl-Git-2.33.0-7.oe2203.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-help-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-help-2.33.0-7.oe2203.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-svn-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-svn-2.33.0-7.oe2203.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-email-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-email-2.33.0-7.oe2203.noarch.rpm</FullProductName>
			<FullProductName ProductID="gitk-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">gitk-2.33.0-7.oe2203.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-web-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-web-2.33.0-7.oe2203.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-gui-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-gui-2.33.0-7.oe2203.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-help-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-help-2.33.0-9.oe2203sp1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-web-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-web-2.33.0-9.oe2203sp1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-email-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-email-2.33.0-9.oe2203sp1.noarch.rpm</FullProductName>
			<FullProductName ProductID="perl-Git-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">perl-Git-2.33.0-9.oe2203sp1.noarch.rpm</FullProductName>
			<FullProductName ProductID="gitk-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">gitk-2.33.0-9.oe2203sp1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-svn-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-svn-2.33.0-9.oe2203sp1.noarch.rpm</FullProductName>
			<FullProductName ProductID="perl-Git-SVN-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">perl-Git-SVN-2.33.0-9.oe2203sp1.noarch.rpm</FullProductName>
			<FullProductName ProductID="git-gui-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-gui-2.33.0-9.oe2203sp1.noarch.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="src">
			<FullProductName ProductID="git-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-2.27.0-11.oe1.src.rpm</FullProductName>
			<FullProductName ProductID="git-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-2.27.0-14.oe1.src.rpm</FullProductName>
			<FullProductName ProductID="git-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-2.33.0-7.oe2203.src.rpm</FullProductName>
			<FullProductName ProductID="git-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-2.33.0-9.oe2203sp1.src.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="x86_64">
			<FullProductName ProductID="git-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-2.27.0-11.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-debuginfo-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-debuginfo-2.27.0-11.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-daemon-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-daemon-2.27.0-11.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-debugsource-2.27.0-11" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-debugsource-2.27.0-11.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-daemon-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-daemon-2.27.0-14.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-debugsource-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-debugsource-2.27.0-14.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-debuginfo-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-debuginfo-2.27.0-14.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-2.27.0-14" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-2.27.0-14.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-daemon-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-daemon-2.33.0-7.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-debugsource-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-debugsource-2.33.0-7.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-debuginfo-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-debuginfo-2.33.0-7.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-2.33.0-7" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-2.33.0-7.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-daemon-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-daemon-2.33.0-9.oe2203sp1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-core-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-core-2.33.0-9.oe2203sp1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-debuginfo-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-debuginfo-2.33.0-9.oe2203sp1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-debugsource-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-debugsource-2.33.0-9.oe2203sp1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="git-2.33.0-9" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">git-2.33.0-9.oe2203sp1.x86_64.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">Git GUI is a convenient graphical tool that comes with Git for Windows. Its target audience is users who are uncomfortable with using Git on the command-line. Git GUI has a function to clone repositories. Immediately after the local clone is available, Git GUI will automatically post-process it, among other things running a spell checker called `aspell.exe` if it was found. Git GUI is implemented as a Tcl/Tk script. Due to the unfortunate design of Tcl on Windows, the search path when looking for an executable _always includes the current directory_. Therefore, malicious repositories can ship with an `aspell.exe` in their top-level directory which is executed by Git GUI without giving the user a chance to inspect it first, i.e. running untrusted code. This issue has been addressed in version 2.39.1. Users are advised to upgrade. Users unable to upgrade should avoid using Git GUI for cloning. If that is not a viable option, at least avoid cloning from untrusted sources.</Note>
		</Notes>
		<ReleaseDate>2023-02-03</ReleaseDate>
		<CVE>CVE-2022-41953</CVE>
		<ProductStatuses>
			<Status Type="Fixed">
				<ProductID>openEuler-20.03-LTS-SP1</ProductID>
				<ProductID>openEuler-20.03-LTS-SP3</ProductID>
				<ProductID>openEuler-22.03-LTS</ProductID>
				<ProductID>openEuler-22.03-LTS-SP1</ProductID>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>High</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>7.8</BaseScore>
				<Vector>AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>git security update</Description>
				<DATE>2023-02-03</DATE>
				<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1059</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
</cvrfdoc>