ALAS2-2025-2737
Active ModerateALAS2-2025-2737 (medium): git
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 2 records
Shared by all 2 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2025-2737.html| CVE |
|---|
| CVE-2024-50349 |
| CVE-2024-52006 |
Description
Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When Git asks for credentials via a terminal prompt (i.e. without using any credential helper), it prints out the host name for which the user is expected to provide a username and/or a
Read full publisher description 1873 characters
Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When Git asks for credentials via a terminal prompt (i.e. without using any credential helper), it prints out the host name for which the user is expected to provide a username and/or a password. At this stage, any URL-encoded parts have been decoded already, and are printed verbatim. This allows attackers to craft URLs that contain ANSI escape sequences that the terminal interpret to confuse users e.g. into providing passwords for trusted Git hosting sites when in fact they are then sent to untrusted sites that are under the attacker's control. This issue has been patch via commits `7725b81` and `c903985` which are included in release versions v2.48.1, v2.47.1, v2.46.3, v2.45.3, v2.44.3, v2.43.6, v2.42.4, v2.41.3, and v2.40.4. Users are advised to upgrade. Users unable to upgrade should avoid cloning from untrusted URLs, especially recursive clones. (CVE-2024-50349) Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Git defines a line-based protocol that is used to exchange information between Git and Git credential helpers. Some ecosystems (most notably, .NET and node.js) interpret single Carriage Return characters as newlines, which renders the protections against CVE-2020-5260 incomplete for credential helpers that treat Carriage Returns in this way. This issue has been addressed in commit `b01b9b8` which is included in release versions v2.48.1, v2.47.1, v2.46.3, v2.45.3, v2.44.3, v2.43.6, v2.42.4, v2.41.3, and v2.40.4. Users are advised to upgrade. Users unable to upgrade should avoid cloning from untrusted URLs, especially recursive clones. (CVE-2024-52006)
Solution
Run yum update git or yum update --advisory ALAS2-2025-2737 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 5 occurrences-
1git
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- git-2.47.1-1.amzn2.0.2.aarch64
- git-core-2.47.1-1.amzn2.0.2.aarch64
- git-credential-libsecret-2.47.1-1.amzn2.0.2.aarch64
- git-daemon-2.47.1-1.amzn2.0.2.aarch64
- git-debuginfo-2.47.1-1.amzn2.0.2.aarch64
-
2git
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- git-2.47.1-1.amzn2.0.2.i686
- git-core-2.47.1-1.amzn2.0.2.i686
- git-credential-libsecret-2.47.1-1.amzn2.0.2.i686
- git-daemon-2.47.1-1.amzn2.0.2.i686
- git-debuginfo-2.47.1-1.amzn2.0.2.i686
-
3git
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- git-all-2.47.1-1.amzn2.0.2.noarch
- git-core-doc-2.47.1-1.amzn2.0.2.noarch
- git-cvs-2.47.1-1.amzn2.0.2.noarch
- git-email-2.47.1-1.amzn2.0.2.noarch
- gitk-2.47.1-1.amzn2.0.2.noarch
- gitweb-2.47.1-1.amzn2.0.2.noarch
- git-gui-2.47.1-1.amzn2.0.2.noarch
- git-instaweb-2.47.1-1.amzn2.0.2.noarch
- git-p4-2.47.1-1.amzn2.0.2.noarch
- perl-Git-2.47.1-1.amzn2.0.2.noarch
- perl-Git-SVN-2.47.1-1.amzn2.0.2.noarch
- git-subtree-2.47.1-1.amzn2.0.2.noarch
- git-svn-2.47.1-1.amzn2.0.2.noarch
-
4git
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- git-2.47.1-1.amzn2.0.2.src
-
5git
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- git-2.47.1-1.amzn2.0.2.x86_64
- git-core-2.47.1-1.amzn2.0.2.x86_64
- git-credential-libsecret-2.47.1-1.amzn2.0.2.x86_64
- git-daemon-2.47.1-1.amzn2.0.2.x86_64
- git-debuginfo-2.47.1-1.amzn2.0.2.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
4- CVE-2024-50349 https://access.redhat.com/security/cve/CVE-2024-50349
- CVE-2024-52006 https://access.redhat.com/security/cve/CVE-2024-52006
- CVE-2024-50349 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-50349
- CVE-2024-52006 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-52006
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2025-2737.html | Unknown | 78e0f92533237405be37d424fb60d43be871c488dec7f5d6a5515dca3036a328 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-2737.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-2737.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |