Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 2 min 123 bronnen 1 kritiek 8 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2025-26625

NONE Gepubliceerd: CWE-59

Beschrijving NL

Git LFS is een Git-extensie voor het versiebeheer van grote bestanden. In Git LFS-versies 0.5.2 tot 3.7.0 kunnen bepaalde Git LFS-opdrachten bij het vullen van de werkboom van een Git-repository met de inhoud van Git LFS-objecten schrijven naar bestanden die zichtbaar zijn buiten de huidige Git-werkboom als er symbolische of harde koppelingen bestaan die botsen met de paden van bestanden die door Git LFS worden bijgehouden. De git lfs checkout en git lfs pull commando's controleren niet op symbolische links voordat ze naar bestanden in de werkboom schrijven, waardoor een aanvaller een repository kan maken met symbolische of harde links die ervoor zorgen dat Git LFS naar willekeurige bestandssysteemlocaties schrijft die toegankelijk zijn voor de gebruiker die deze commando's uitvoert. Ook wanneer de git lfs checkout en git lfs pull commando's worden uitgevoerd in een kale repository, kunnen ze schrijven naar bestanden die zichtbaar zijn buiten de repository. De kwetsbaarheid is opgelost in versie 3.7.1. Als tijdelijke oplossing kan ondersteuning voor symlinks in Git worden uitgeschakeld door de configuratieoptie core.symlinks in te stellen op false, waarna verdere klonen en fetches geen symbolische links zullen creëren. Symbolische of harde koppelingen in bestaande repositories bieden Git LFS echter nog steeds de mogelijkheid om naar hun doelen te schrijven.

Origineel (Engels) tonen

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.

References