Git's protections for cloning untrusted repositories can be bypassed
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-30280 | Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with `git clone --no-local` to obtain a clean copy. Git has specific protections to make that a safe operation even with an untrusted source repository, but vulnerabilities allow those protections to be bypassed. In the context of cloning local repositories owned by other users, this vulnerability has been covered in CVE-2024-32004. But there are circumstances where the fixes for CVE-2024-32004 are not enough: For example, when obtaining a `.zip` file containing a full copy of a Git repository, it should not be trusted by default to be safe, as e.g. hooks could be configured to run within the context of that repository. 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. As a workaround, avoid using Git in repositories that have been obtained via archives from untrusted sources. |
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.026% 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
|