ALAS2-2025-2941
Active ImportantALAS2-2025-2941 (important): git
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 5 records
Shared by all 5 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2025-2941.html| CVE |
|---|
| CVE-2025-27613 |
| CVE-2025-27614 |
| CVE-2025-46835 |
| CVE-2025-48384 |
| CVE-2025-48385 |
Description
When a user clones an untrusted repository and runs Gitk without additional command arguments, any writable file can be created and truncated. The option "Support per-file encoding" must have been enabled. The operation "Show origin of this line" is affected as well, regardless of the option being enabled or not. (CVE-2025-27613) A Git repository can be
Read full publisher description 2873 characters
When a user clones an untrusted repository and runs Gitk without additional command arguments, any writable file can be created and truncated. The option "Support per-file encoding" must have been enabled. The operation "Show origin of this line" is affected as well, regardless of the option being enabled or not. (CVE-2025-27613) A Git repository can be crafted in such a way that a user who has cloned the repository can be tricked into running any script supplied by the attacker by invoking `gitk filename`, where `filename` has a particular structure. (CVE-2025-27614) When a user clones an untrusted repository and is tricked into editing a file located in a maliciously named directory in the repository, then Git GUI can create and overwrite any writable file. (CVE-2025-46835) 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 reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1. (CVE-2025-48384) 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 cloning a repository Git knows to optionally fetch a bundle advertised by the remote server, which allows the server-side to offload parts of the clone to a CDN. The Git client does not perform sufficient validation of the advertised bundles, which allows the remote side to perform protocol injection. This protocol injection can cause the client to write the fetched bundle to a location controlled by the adversary. The fetched content is fully controlled by the server, which can in the worst case lead to arbitrary code execution. The use of bundle URIs is not enabled by default and can be controlled by the bundle.heuristic config option. Some cases of the vulnerability require that the adversary is in control of where a repository will be cloned to. This either requires social engineering or a recursive clone with submodules. These cases can thus be avoided by disabling recursive clones. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1. (CVE-2025-48385)
Solution
Run yum update git or yum update --advisory ALAS2-2025-2941 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.3-1.amzn2.0.1.aarch64
- git-core-2.47.3-1.amzn2.0.1.aarch64
- git-credential-libsecret-2.47.3-1.amzn2.0.1.aarch64
- git-daemon-2.47.3-1.amzn2.0.1.aarch64
- git-debuginfo-2.47.3-1.amzn2.0.1.aarch64
-
2git
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- git-2.47.3-1.amzn2.0.1.i686
- git-core-2.47.3-1.amzn2.0.1.i686
- git-credential-libsecret-2.47.3-1.amzn2.0.1.i686
- git-daemon-2.47.3-1.amzn2.0.1.i686
- git-debuginfo-2.47.3-1.amzn2.0.1.i686
-
3git
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- git-all-2.47.3-1.amzn2.0.1.noarch
- git-core-doc-2.47.3-1.amzn2.0.1.noarch
- git-cvs-2.47.3-1.amzn2.0.1.noarch
- git-email-2.47.3-1.amzn2.0.1.noarch
- gitk-2.47.3-1.amzn2.0.1.noarch
- gitweb-2.47.3-1.amzn2.0.1.noarch
- git-gui-2.47.3-1.amzn2.0.1.noarch
- git-instaweb-2.47.3-1.amzn2.0.1.noarch
- git-p4-2.47.3-1.amzn2.0.1.noarch
- perl-Git-2.47.3-1.amzn2.0.1.noarch
- perl-Git-SVN-2.47.3-1.amzn2.0.1.noarch
- git-subtree-2.47.3-1.amzn2.0.1.noarch
- git-svn-2.47.3-1.amzn2.0.1.noarch
-
4git
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- git-2.47.3-1.amzn2.0.1.src
-
5git
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- git-2.47.3-1.amzn2.0.1.x86_64
- git-core-2.47.3-1.amzn2.0.1.x86_64
- git-credential-libsecret-2.47.3-1.amzn2.0.1.x86_64
- git-daemon-2.47.3-1.amzn2.0.1.x86_64
- git-debuginfo-2.47.3-1.amzn2.0.1.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
10- CVE-2025-27613 https://access.redhat.com/security/cve/CVE-2025-27613
- CVE-2025-27614 https://access.redhat.com/security/cve/CVE-2025-27614
- CVE-2025-46835 https://access.redhat.com/security/cve/CVE-2025-46835
- CVE-2025-48384 https://access.redhat.com/security/cve/CVE-2025-48384
- CVE-2025-48385 https://access.redhat.com/security/cve/CVE-2025-48385
- CVE-2025-27613 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-27613
- CVE-2025-27614 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-27614
- CVE-2025-46835 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-46835
- CVE-2025-48384 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-48384
- CVE-2025-48385 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-48385
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-2941.html | Unknown | 3d34d2b14d9a16c3def20ac3ac7e96e0c759a9400ebd405d83d3b35729b286cb | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-2941.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-2941.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |