Amazon Linux 2 Security Advisory: ALAS-2022-1810
Advisory Release Date: 2022-07-06 03:10 Pacific
Advisory Updated Date: 2022-07-14 21:52 Pacific
A vulnerability was found in Git. This flaw occurs due to Git not checking the ownership of directories in a local multi-user system when running commands specified in the local repository configuration. This allows the owner of the repository to cause arbitrary commands to be executed by other users who access the repository. (CVE-2022-24765)
Affected Packages:
git
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update git to update your system.
aarch64:
git-2.34.3-1.amzn2.0.2.aarch64
git-core-2.34.3-1.amzn2.0.2.aarch64
git-credential-libsecret-2.34.3-1.amzn2.0.2.aarch64
git-daemon-2.34.3-1.amzn2.0.2.aarch64
git-subtree-2.34.3-1.amzn2.0.2.aarch64
git-debuginfo-2.34.3-1.amzn2.0.2.aarch64
i686:
git-2.34.3-1.amzn2.0.2.i686
git-core-2.34.3-1.amzn2.0.2.i686
git-credential-libsecret-2.34.3-1.amzn2.0.2.i686
git-daemon-2.34.3-1.amzn2.0.2.i686
git-subtree-2.34.3-1.amzn2.0.2.i686
git-debuginfo-2.34.3-1.amzn2.0.2.i686
noarch:
git-all-2.34.3-1.amzn2.0.2.noarch
git-core-doc-2.34.3-1.amzn2.0.2.noarch
git-cvs-2.34.3-1.amzn2.0.2.noarch
git-email-2.34.3-1.amzn2.0.2.noarch
gitk-2.34.3-1.amzn2.0.2.noarch
gitweb-2.34.3-1.amzn2.0.2.noarch
git-gui-2.34.3-1.amzn2.0.2.noarch
git-instaweb-2.34.3-1.amzn2.0.2.noarch
git-p4-2.34.3-1.amzn2.0.2.noarch
perl-Git-2.34.3-1.amzn2.0.2.noarch
perl-Git-SVN-2.34.3-1.amzn2.0.2.noarch
git-svn-2.34.3-1.amzn2.0.2.noarch
src:
git-2.34.3-1.amzn2.0.2.src
x86_64:
git-2.34.3-1.amzn2.0.2.x86_64
git-core-2.34.3-1.amzn2.0.2.x86_64
git-credential-libsecret-2.34.3-1.amzn2.0.2.x86_64
git-daemon-2.34.3-1.amzn2.0.2.x86_64
git-subtree-2.34.3-1.amzn2.0.2.x86_64
git-debuginfo-2.34.3-1.amzn2.0.2.x86_64