ALAS2023-2025-1258


Amazon Linux 2023 Security Advisory: ALAS2023-2025-1258
Advisory Released Date: 2025-11-10
Advisory Updated Date: 2025-11-10
Severity: Important

Issue Overview:

Git LFS is a Git extension for versioning large files. In Git LFS versions 0.5.2 through 3.7.0, when populating a Git repository's working tree with the contents of Git LFS objects, certain Git LFS commands may write to files visible outside the current Git working tree if symbolic or hard links exist which collide with the paths of files tracked by Git LFS. The git lfs checkout and git lfs pull commands do not check for symbolic links before writing to files in the working tree, allowing an attacker to craft a repository containing symbolic or hard links that cause Git LFS to write to arbitrary file system locations accessible to the user running these commands. As well, when the git lfs checkout and git lfs pull commands are run in a bare repository, they could write to files visible outside the repository. The vulnerability is fixed in version 3.7.1. As a workaround, support for symlinks in Git may be disabled by setting the core.symlinks configuration option to false, after which further clones and fetches will not create symbolic links. However, any symbolic or hard links in existing repositories will still provide the opportunity for Git LFS to write to their targets. (CVE-2025-26625)


Affected Packages:

git-lfs


Issue Correction:
Run dnf update git-lfs --releasever 2023.9.20251110 or dnf update --advisory ALAS2023-2025-1258 --releasever 2023.9.20251110 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation

New Packages:
aarch64:
    git-lfs-debuginfo-3.7.1-79.amzn2023.aarch64
    git-lfs-3.7.1-79.amzn2023.aarch64
    git-lfs-debugsource-3.7.1-79.amzn2023.aarch64

src:
    git-lfs-3.7.1-79.amzn2023.src

x86_64:
    git-lfs-debuginfo-3.7.1-79.amzn2023.x86_64
    git-lfs-debugsource-3.7.1-79.amzn2023.x86_64
    git-lfs-3.7.1-79.amzn2023.x86_64