Git LFS may write to arbitrary files via crafted symlinks
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| git-lfs | git-lfs | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Git-lfs | Git-lfs | — |
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4610-1 | git-lfs security update |
Debian DLA |
DLA-4846-1 | git-lfs security update |
Github GHSA |
GHSA-6pvw-g552-53c5 | Git LFS may write to arbitrary files via crafted symlinks |
Ubuntu USN |
USN-7977-1 | Git LFS vulnerabilities |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.1% (1.055% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Git-lfs
Git-lfs git-lfs |
|
| Vendors & Products |
Git-lfs
Git-lfs git-lfs |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Git LFS may write to arbitrary files via crafted symlinks | |
| Weaknesses | CWE-59 | |
| References |
|
|
| Metrics |
cvssV4_0
|