CVE-2022-41953
Summary
| CVE | CVE-2022-41953 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-01-17 22:15:00 UTC |
| Updated | 2023-01-25 14:13:00 UTC |
| Description | Git GUI is a convenient graphical tool that comes with Git for Windows. Its target audience is users who are uncomfortable with using Git on the command-line. Git GUI has a function to clone repositories. Immediately after the local clone is available, Git GUI will automatically post-process it, among other things running a spell checker called `aspell.exe` if it was found. Git GUI is implemented as a Tcl/Tk script. Due to the unfortunate design of Tcl on Windows, the search path when looking for an executable _always includes the current directory_. Therefore, malicious repositories can ship with an `aspell.exe` in their top-level directory which is executed by Git GUI without giving the user a chance to inspect it first, i.e. running untrusted code. This issue has been addressed in version 2.39.1. Users are advised to upgrade. Users unable to upgrade should avoid using Git GUI for cloning. If that is not a viable option, at least avoid cloning from untrusted sources. |
Risk And Classification
Problem Types: CWE-426
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Merge v2.39.1.windows.1 (#4219) · git-for-windows/git@7360767 · GitHub | MISC | github.com | |
| exec manual page - Tcl Built-In Commands | MISC | www.tcl.tk | |
| Git GUI Clone Remote Code Execution Vulnerability · Advisory · git-for-windows/git · GitHub | MISC | github.com | |
| Merge v2.39.1.windows.1 by derrickstolee · Pull Request #4219 · git-for-windows/git · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 377914 Git Remote Code Execution (RCE) Vulnerability
- 672708 EulerOS Security Update for git (EulerOS-SA-2023-1466)
- 672737 EulerOS Security Update for git (EulerOS-SA-2023-1441)
- 672793 EulerOS Security Update for git (EulerOS-SA-2023-1548)
- 672811 EulerOS Security Update for git (EulerOS-SA-2023-1523)
- 672898 EulerOS Security Update for git (EulerOS-SA-2023-1757)
- 672902 EulerOS Security Update for git (EulerOS-SA-2023-1779)
- 905270 Common Base Linux Mariner (CBL-Mariner) Security Update for git (13014)
- 905279 Common Base Linux Mariner (CBL-Mariner) Security Update for git (13025)
- 905487 Common Base Linux Mariner (CBL-Mariner) Security Update for git (13014-1)
- 907383 Common Base Linux Mariner (CBL-Mariner) Security Update for git (13025-1)