Git LFS is a Git extension for versioning large files. From 0.5.0 until 3.8.1, Git LFS does not format the SSH URL path component as a single argument...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:18.04:LTSgit-lfs |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSgit-lfs |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSgit-lfs |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSgit-lfs |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10git-lfs |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:26.04:LTSgit-lfs |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Git LFS is a Git extension for versioning large files. From 0.5.0 until 3.8.1, Git LFS does not format the SSH URL path component as a single argument when constructing remote object-transfer or authentication commands. Shell metacharacters in the SSH URL can therefore escape the intended path argument and cause arbitrary command execution when the remote Git LFS service passes received commands to a shell without adequate sanitization. Git LFS also incorrectly encodes default HTTPS URLs when an SSH URL is configured and the remote host either does not support Git LFS remote commands over SSH or supports HTTP authentication over SSH but git-lfs-authenticate does not return an explicit HTTP URL. This issue is fixed in version 3.8.1.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com