Amazon Linux 2 Security Advisory: ALAS2-2025-2884
Advisory Released Date: 2025-06-12
Advisory Updated Date: 2025-06-12
Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the remote Git process to the client via the so-called "sideband channel". These messages will be prefixed with "remote:" and printed directly to the standard error output. Typically, this standard error output is connected to a terminal that understands ANSI escape sequences, which Git did not protect against. Most modern terminals support control sequences that can be used by a malicious actor to hide and misrepresent information, or to mislead the user into executing untrusted scripts. As requested on the git-security mailing list, the patches are under discussion on the public mailing list. Users are advised to update as soon as possible. Users unable to upgrade should avoid recursive clones unless they are from trusted sources. (CVE-2024-52005)
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.47.1-1.amzn2.0.3.aarch64
git-core-2.47.1-1.amzn2.0.3.aarch64
git-credential-libsecret-2.47.1-1.amzn2.0.3.aarch64
git-daemon-2.47.1-1.amzn2.0.3.aarch64
git-debuginfo-2.47.1-1.amzn2.0.3.aarch64
i686:
git-2.47.1-1.amzn2.0.3.i686
git-core-2.47.1-1.amzn2.0.3.i686
git-credential-libsecret-2.47.1-1.amzn2.0.3.i686
git-daemon-2.47.1-1.amzn2.0.3.i686
git-debuginfo-2.47.1-1.amzn2.0.3.i686
noarch:
git-all-2.47.1-1.amzn2.0.3.noarch
git-core-doc-2.47.1-1.amzn2.0.3.noarch
git-cvs-2.47.1-1.amzn2.0.3.noarch
git-email-2.47.1-1.amzn2.0.3.noarch
gitk-2.47.1-1.amzn2.0.3.noarch
gitweb-2.47.1-1.amzn2.0.3.noarch
git-gui-2.47.1-1.amzn2.0.3.noarch
git-instaweb-2.47.1-1.amzn2.0.3.noarch
git-p4-2.47.1-1.amzn2.0.3.noarch
perl-Git-2.47.1-1.amzn2.0.3.noarch
perl-Git-SVN-2.47.1-1.amzn2.0.3.noarch
git-subtree-2.47.1-1.amzn2.0.3.noarch
git-svn-2.47.1-1.amzn2.0.3.noarch
src:
git-2.47.1-1.amzn2.0.3.src
x86_64:
git-2.47.1-1.amzn2.0.3.x86_64
git-core-2.47.1-1.amzn2.0.3.x86_64
git-credential-libsecret-2.47.1-1.amzn2.0.3.x86_64
git-daemon-2.47.1-1.amzn2.0.3.x86_64
git-debuginfo-2.47.1-1.amzn2.0.3.x86_64