Skip to content
OpenAdvisories
Medium ALAS2-2022-1810 1 CVE

Moderate: git security update (Amazon Linux 2)

Published Jul 6, 2022 · Updated Jul 14, 2022

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2022-24765: 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.

Fixed packages 18

ReleasePackageFixed in
Amazon Linux · 2 git 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-all 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-core 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-core-doc 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-credential-libsecret 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-cvs 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-daemon 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-debuginfo 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-email 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-gui 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-instaweb 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-p4 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-subtree 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 git-svn 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 gitk 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 gitweb 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 perl-Git 0:2.34.3-1.amzn2.0.2
Amazon Linux · 2 perl-Git-SVN 0:2.34.3-1.amzn2.0.2

Vulnerabilities 1

  • Medium 6.0
    CVE-2022-24765 Public exploit

    Uncontrolled search for the Git directory in Git for Windows

    Git for Windows is a fork of Git containing Windows-specific patches. This vulnerability affects users working on multi-user machines, where untrusted parties have write access to the same hard disk. Those untrusted parties could create the folder `C:\.git`, …

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-24765.html