cvrf2cusa/cvrf/2022/cvrf-openEuler-SA-2022-2029.xml
Jia Chao 0b34274085 git mv
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
2024-07-25 09:57:37 +08:00

188 lines
18 KiB
XML

<?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 and openEuler-22.03-LTS</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-2022-2029</ID>
</Identification>
<Status>Final</Status>
<Version>1.0</Version>
<RevisionHistory>
<Revision>
<Number>1.0</Number>
<Date>2022-10-28</Date>
<Description>Initial</Description>
</Revision>
</RevisionHistory>
<InitialReleaseDate>2022-10-28</InitialReleaseDate>
<CurrentReleaseDate>2022-10-28</CurrentReleaseDate>
<Generator>
<Engine>openEuler SA Tool V1.0</Engine>
<Date>2022-10-28</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 and openEuler-22.03-LTS.</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 is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source&apos;s `$GIT_DIR/objects` directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via `--no-hardlinks`). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim&apos;s machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the `--recurse-submodules` option. Git does not create symbolic links in the `$GIT_DIR/objects` directory. The problem has been patched in the versions published on 2022-10-18, and backported to v2.30.x. Potential workarounds: Avoid cloning untrusted repositories using the `--local` optimization when on a shared machine, either by passing the `--no-local` option to `git clone` or cloning from a URL that uses the `file://` scheme. Alternatively, avoid cloning repositories from untrusted sources with `--recurse-submodules` or run `git config --global protocol.file.allow user`.(CVE-2022-39253)
Git is an open source, scalable, distributed revision control system. `git shell` is a restricted login shell that can be used to implement Git&apos;s push/pull functionality via SSH. In versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4, the function that splits the command arguments into an array improperly uses an `int` to represent the number of entries in the array, allowing a malicious actor to intentionally overflow the return value, leading to arbitrary heap writes. Because the resulting array is then passed to `execv()`, it is possible to leverage this attack to gain remote code execution on a victim machine. Note that a victim must first allow access to `git shell` as a login shell in order to be vulnerable to this attack. This problem is patched in versions 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 and users are advised to upgrade to the latest version. Disabling `git shell` access via remote logins is a viable short-term workaround.(CVE-2022-39260)</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 and openEuler-22.03-LTS.
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-2022-2029</URL>
</Reference>
<Reference Type="openEuler CVE">
<URL>https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-39253</URL>
<URL>https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-39260</URL>
</Reference>
<Reference Type="Other">
<URL>https://nvd.nist.gov/vuln/detail/CVE-2022-39253</URL>
<URL>https://nvd.nist.gov/vuln/detail/CVE-2022-39260</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>
</Branch>
<Branch Type="Package Arch" Name="aarch64">
<FullProductName ProductID="git-daemon-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-daemon-2.27.0-9.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="git-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-2.27.0-9.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="git-debugsource-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-debugsource-2.27.0-9.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="git-debuginfo-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-debuginfo-2.27.0-9.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="git-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-2.27.0-12.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="git-daemon-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-daemon-2.27.0-12.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="git-debugsource-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-debugsource-2.27.0-12.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="git-debuginfo-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-debuginfo-2.27.0-12.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="git-daemon-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-daemon-2.33.0-4.oe2203.aarch64.rpm</FullProductName>
<FullProductName ProductID="git-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-2.33.0-4.oe2203.aarch64.rpm</FullProductName>
<FullProductName ProductID="git-debuginfo-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-debuginfo-2.33.0-4.oe2203.aarch64.rpm</FullProductName>
<FullProductName ProductID="git-debugsource-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-debugsource-2.33.0-4.oe2203.aarch64.rpm</FullProductName>
</Branch>
<Branch Type="Package Arch" Name="noarch">
<FullProductName ProductID="git-help-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-help-2.27.0-9.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="git-svn-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-svn-2.27.0-9.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="gitk-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">gitk-2.27.0-9.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="git-email-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-email-2.27.0-9.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="git-web-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-web-2.27.0-9.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="perl-Git-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">perl-Git-2.27.0-9.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="perl-Git-SVN-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">perl-Git-SVN-2.27.0-9.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="git-gui-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-gui-2.27.0-9.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="git-svn-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-svn-2.27.0-12.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="git-email-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-email-2.27.0-12.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="git-web-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-web-2.27.0-12.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="perl-Git-SVN-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">perl-Git-SVN-2.27.0-12.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="git-gui-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-gui-2.27.0-12.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="perl-Git-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">perl-Git-2.27.0-12.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="gitk-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">gitk-2.27.0-12.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="git-help-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-help-2.27.0-12.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="git-svn-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-svn-2.33.0-4.oe2203.noarch.rpm</FullProductName>
<FullProductName ProductID="perl-Git-SVN-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">perl-Git-SVN-2.33.0-4.oe2203.noarch.rpm</FullProductName>
<FullProductName ProductID="gitk-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">gitk-2.33.0-4.oe2203.noarch.rpm</FullProductName>
<FullProductName ProductID="git-gui-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-gui-2.33.0-4.oe2203.noarch.rpm</FullProductName>
<FullProductName ProductID="perl-Git-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">perl-Git-2.33.0-4.oe2203.noarch.rpm</FullProductName>
<FullProductName ProductID="git-help-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-help-2.33.0-4.oe2203.noarch.rpm</FullProductName>
<FullProductName ProductID="git-email-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-email-2.33.0-4.oe2203.noarch.rpm</FullProductName>
<FullProductName ProductID="git-web-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-web-2.33.0-4.oe2203.noarch.rpm</FullProductName>
</Branch>
<Branch Type="Package Arch" Name="src">
<FullProductName ProductID="git-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-2.27.0-9.oe1.src.rpm</FullProductName>
<FullProductName ProductID="git-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-2.27.0-12.oe1.src.rpm</FullProductName>
<FullProductName ProductID="git-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-2.33.0-4.oe2203.src.rpm</FullProductName>
</Branch>
<Branch Type="Package Arch" Name="x86_64">
<FullProductName ProductID="git-daemon-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-daemon-2.27.0-9.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="git-debugsource-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-debugsource-2.27.0-9.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="git-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-2.27.0-9.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="git-debuginfo-2.27.0-9" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">git-debuginfo-2.27.0-9.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="git-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-2.27.0-12.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="git-daemon-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-daemon-2.27.0-12.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="git-debuginfo-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-debuginfo-2.27.0-12.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="git-debugsource-2.27.0-12" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">git-debugsource-2.27.0-12.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="git-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-2.33.0-4.oe2203.x86_64.rpm</FullProductName>
<FullProductName ProductID="git-daemon-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-daemon-2.33.0-4.oe2203.x86_64.rpm</FullProductName>
<FullProductName ProductID="git-debuginfo-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-debuginfo-2.33.0-4.oe2203.x86_64.rpm</FullProductName>
<FullProductName ProductID="git-debugsource-2.33.0-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">git-debugsource-2.33.0-4.oe2203.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 is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source s `$GIT_DIR/objects` directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via `--no-hardlinks`). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim s machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the `--recurse-submodules` option. Git does not create symbolic links in the `$GIT_DIR/objects` directory. The problem has been patched in the versions published on 2022-10-18, and backported to v2.30.x. Potential workarounds: Avoid cloning untrusted repositories using the `--local` optimization when on a shared machine, either by passing the `--no-local` option to `git clone` or cloning from a URL that uses the `file://` scheme. Alternatively, avoid cloning repositories from untrusted sources with `--recurse-submodules` or run `git config --global protocol.file.allow user`.</Note>
</Notes>
<ReleaseDate>2022-10-28</ReleaseDate>
<CVE>CVE-2022-39253</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>
</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:H/I:N/A:N</Vector>
</ScoreSet>
</CVSSScoreSets>
<Remediations>
<Remediation Type="Vendor Fix">
<Description>git security update</Description>
<DATE>2022-10-28</DATE>
<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2029</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">Git is an open source, scalable, distributed revision control system. `git shell` is a restricted login shell that can be used to implement Git s push/pull functionality via SSH. In versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4, the function that splits the command arguments into an array improperly uses an `int` to represent the number of entries in the array, allowing a malicious actor to intentionally overflow the return value, leading to arbitrary heap writes. Because the resulting array is then passed to `execv()`, it is possible to leverage this attack to gain remote code execution on a victim machine. Note that a victim must first allow access to `git shell` as a login shell in order to be vulnerable to this attack. This problem is patched in versions 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 and users are advised to upgrade to the latest version. Disabling `git shell` access via remote logins is a viable short-term workaround.</Note>
</Notes>
<ReleaseDate>2022-10-28</ReleaseDate>
<CVE>CVE-2022-39260</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>
</Status>
</ProductStatuses>
<Threats>
<Threat Type="Impact">
<Description>High</Description>
</Threat>
</Threats>
<CVSSScoreSets>
<ScoreSet>
<BaseScore>8.8</BaseScore>
<Vector>AV:N/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>2022-10-28</DATE>
<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2029</URL>
</Remediation>
</Remediations>
</Vulnerability>
</cvrfdoc>