Arbitrary command execution is possible in Git before 2.20.2, 2.21.x before 2.21.1, 2.22.x before 2.22.2, 2.23.x before 2.23.1, and 2.24.x before 2.24.1 because a "git submodule update" operation can run commands found in the .gitmodules file of a malicious repository.
| Software | From | Fixed in |
|---|---|---|
| git-scm / git | 2.21.0 | 2.21.1 |
| git-scm / git | 2.22.0 | 2.22.2 |
| git-scm / git | 2.23.0 | 2.23.1 |
| git-scm / git | 2.24.0 | 2.24.1 |
| git-scm / git | - | 2.20.0 |
| debian / debian_linux | 9.0 | 9.0.x |
| debian / debian_linux | 10.0 | 10.0.x |
| fedoraproject / fedora | 30 | 30.x |
| fedoraproject / fedora | 31 | 31.x |
| opensuse / leap | 15.1 | 15.1.x |