Git LFS flaw can execute arbitrary commands when fetching from malicious repositories
- Git LFS
- arbitrary command
- configuration

The issue involves configuration options in repository .lfsconfig files
Git LFS restricts custom transfer commands to local configuration files
Users are advised to upgrade to version
3.8.1
Git LFS fails to sufficiently restrict configuration options in repository configuration files, which allows attackers to execute arbitrary commands when users fetch objects from malicious repositories.
Git LFS permits configuration options in .lfsconfig files located at the root of a Git repository. Because the software fails to filter configuration keys containing certain additional components, attackers can mimic options to configure custom commands for transferring objects, which Git LFS then invokes when fetching objects.
The issue is resolved by restricting custom object transfer command configuration to local Git configuration files. Users are advised to upgrade to version 3.8.1.




