Local Git clone may hardlink arbitrary user-readable files into the new repository's "objects/" directory
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 | git | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
Configuration 3 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | |||
| git-0:2.43.5-1.el8_10 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:4084 | 2024-06-25T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| git-0:2.43.5-1.el9_4 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:4083 | 2024-06-25T00:00:00Z |
| Red Hat Enterprise Linux 9.2 Extended Update Support | |||
| git-0:2.39.5-1.el9_2 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2024:4368 | 2024-07-08T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3844-1 | git security update |
Debian DLA |
DLA-3867-1 | git security update |
Debian DSA |
DSA-5769-1 | git security update |
EUVD |
EUVD-2024-29859 | Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, when cloning a local source repository that contains symlinks via the filesystem, Git may create hardlinks to arbitrary user-readable files on the same filesystem as the target repository in the `objects/` directory. Cloning a local repository over the filesystem may creating hardlinks to arbitrary user-owned files on the same filesystem in the target Git repository's `objects/` directory. When cloning a repository over the filesystem (without explicitly specifying the `file://` protocol or `--no-local`), the optimizations for local cloning will be used, which include attempting to hard link the object files instead of copying them. While the code includes checks against symbolic links in the source repository, which were added during the fix for CVE-2022-39253, these checks can still be raced because the hard link operation ultimately follows symlinks. If the object on the filesystem appears as a file during the check, and then a symlink during the operation, this will allow the adversary to bypass the check and create hardlinks in the destination objects directory to arbitrary, user-readable files. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. |
Ubuntu USN |
USN-6793-1 | Git vulnerabilities |
Ubuntu USN |
USN-7023-1 | Git vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.0% (1.023% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Debian
Debian debian Linux Fedoraproject Fedoraproject fedora Git-scm Git-scm git |
|
| CPEs | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* cpe:2.3:a:git-scm:git:2.41.0:*:*:*:*:*:*:* cpe:2.3:a:git-scm:git:2.44.0:*:*:*:*:*:*:* cpe:2.3:a:git-scm:git:2.45.0:*:*:*:*:*:*:* cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* |
|
| Vendors & Products |
Debian
Debian debian Linux Fedoraproject Fedoraproject fedora Git-scm Git-scm git |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Git
Git git |
|
| CPEs | cpe:2.3:a:git:git:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Git
Git git |
|
| Metrics |
ssvc
|