Git looks for localized messages in the wrong place
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-for-windows | git | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| 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-29707 | In Git for Windows, the Windows port of Git, no localized messages are shipped with the installer. As a consequence, Git is expected not to localize messages at all, and skips the gettext initialization. However, due to a change in MINGW-packages, the `gettext()` function's implicit initialization no longer uses the runtime prefix but uses the hard-coded path `C:\mingw64\share\locale` to look for localized messages. And since any authenticated user has the permission to create folders in `C:\` (and since `C:\mingw64` does not typically exist), it is possible for low-privilege users to place fake messages in that location where `git.exe` will pick them up in version 2.40.1. This vulnerability is relatively hard to exploit and requires social engineering. For example, a legitimate message at the end of a clone could be maliciously modified to ask the user to direct their web browser to a malicious website, and the user might think that the message comes from Git and is legitimate. It does require local write access by the attacker, though, which makes this attack vector less likely. Version 2.40.1 contains a patch for this issue. Some workarounds are available. Do not work on a Windows machine with shared accounts, or alternatively create a `C:\mingw64` folder and leave it empty. Users who have administrative rights may remove the permission to create folders in `C:\`. |
Ubuntu USN |
USN-6050-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.839% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|