Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2025-2941

Active Important

ALAS2-2025-2941 (important): git

Published
30 Jul 2025
Updated
30 Jul 2025

Related CVEs

CVE identifiers linked by this publisher.

5
Publisher relationship details 5 records

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.

5

Shared package data

Applies to all 5 occurrences
  1. 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
  2. 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
  3. 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
  4. 4git

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • git-2.47.3-1.amzn2.0.1.src
  5. 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.

0

No CVSS assessments were provided.

Publisher references

10
  • CVE-2025-27613 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2025-27613
  • CVE-2025-27614 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2025-27614
  • CVE-2025-46835 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2025-46835
  • CVE-2025-48384 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2025-48384
  • CVE-2025-48385 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2025-48385
  • CVE-2025-27613 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-27613
  • CVE-2025-27614 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-27614
  • CVE-2025-46835 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-46835
  • CVE-2025-48384 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-48384
  • CVE-2025-48385 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-48385

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2025-2941.htmlUnknown3d34d2b14d9a16c3def20ac3ac7e96e0c759a9400ebd405d83d3b35729b286cbamazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2025-2941.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2025-2941.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected