ALAS2-2022-1820


Amazon Linux 2 Security Advisory: ALAS-2022-1820
Advisory Release Date: 2022-07-19 00:31 Pacific
Advisory Updated Date: 2022-07-20 21:32 Pacific
Severity: Medium

Issue Overview:

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 issue allows the owner of the repository to cause arbitrary commands to be executed by other users who access the repository. (CVE-2022-29187)


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.

New Packages:
aarch64:
    git-2.37.1-1.amzn2.0.1.aarch64
    git-core-2.37.1-1.amzn2.0.1.aarch64
    git-credential-libsecret-2.37.1-1.amzn2.0.1.aarch64
    git-daemon-2.37.1-1.amzn2.0.1.aarch64
    git-subtree-2.37.1-1.amzn2.0.1.aarch64
    git-debuginfo-2.37.1-1.amzn2.0.1.aarch64

i686:
    git-2.37.1-1.amzn2.0.1.i686
    git-core-2.37.1-1.amzn2.0.1.i686
    git-credential-libsecret-2.37.1-1.amzn2.0.1.i686
    git-daemon-2.37.1-1.amzn2.0.1.i686
    git-subtree-2.37.1-1.amzn2.0.1.i686
    git-debuginfo-2.37.1-1.amzn2.0.1.i686

noarch:
    git-all-2.37.1-1.amzn2.0.1.noarch
    git-core-doc-2.37.1-1.amzn2.0.1.noarch
    git-cvs-2.37.1-1.amzn2.0.1.noarch
    git-email-2.37.1-1.amzn2.0.1.noarch
    gitk-2.37.1-1.amzn2.0.1.noarch
    gitweb-2.37.1-1.amzn2.0.1.noarch
    git-gui-2.37.1-1.amzn2.0.1.noarch
    git-instaweb-2.37.1-1.amzn2.0.1.noarch
    git-p4-2.37.1-1.amzn2.0.1.noarch
    perl-Git-2.37.1-1.amzn2.0.1.noarch
    perl-Git-SVN-2.37.1-1.amzn2.0.1.noarch
    git-svn-2.37.1-1.amzn2.0.1.noarch

src:
    git-2.37.1-1.amzn2.0.1.src

x86_64:
    git-2.37.1-1.amzn2.0.1.x86_64
    git-core-2.37.1-1.amzn2.0.1.x86_64
    git-credential-libsecret-2.37.1-1.amzn2.0.1.x86_64
    git-daemon-2.37.1-1.amzn2.0.1.x86_64
    git-subtree-2.37.1-1.amzn2.0.1.x86_64
    git-debuginfo-2.37.1-1.amzn2.0.1.x86_64