"git apply --reject" partially-controlled arbitrary file write
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 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | |||
| git-0:1.8.3.1-25.el7_9 | cpe:/o:redhat:enterprise_linux:7 | RHSA-2023:3263 | 2023-05-23T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| git-0:2.39.3-1.el8_8 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2023:3246 | 2023-05-22T00:00:00Z |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | |||
| git-0:2.18.4-3.el8_1 | cpe:/a:redhat:rhel_e4s:8.1 | RHSA-2023:3192 | 2023-05-17T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | |||
| git-0:2.18.4-4.el8_2 | cpe:/a:redhat:rhel_aus:8.2 | RHSA-2023:3382 | 2023-05-31T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Extended Update Support | |||
| git-0:2.27.0-4.el8_4 | cpe:/a:redhat:rhel_eus:8.4 | RHSA-2023:3243 | 2023-05-22T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Extended Update Support | |||
| git-0:2.31.1-4.el8_6 | cpe:/a:redhat:rhel_eus:8.6 | RHSA-2023:3247 | 2023-05-22T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| git-0:2.39.3-1.el9_2 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2023:3245 | 2023-05-22T00:00:00Z |
| Red Hat Enterprise Linux 9.0 Extended Update Support | |||
| git-0:2.31.1-5.el9_0 | cpe:/a:redhat:rhel_eus:9.0 | RHSA-2023:3248 | 2023-05-22T00:00:00Z |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | |||
| rh-git227-git-0:2.27.0-6.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2023:3280 | 2023-05-23T00: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-2023-29591 | Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, by feeding specially crafted input to `git apply --reject`, a path outside the working tree can be overwritten with partially controlled contents (corresponding to the rejected hunk(s) from the given patch). A fix is available in versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1. As a workaround, avoid using `git apply` with `--reject` when applying patches from an untrusted source. Use `git apply --stat` to inspect a patch before applying; avoid applying one that create a conflict where a link corresponding to the `*.rej` file exists. |
Ubuntu USN |
USN-6050-1 | Git vulnerabilities |
Ubuntu USN |
USN-6050-2 | Git vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 51.9% (51.883% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|