Impact
Privilege escalation in all platforms
An unsuspecting user could still be affected by the issue reported in CVE-2022-24765, for example when navigating as root into a shared tmp directory that is owned by them, but where an attacker could create a git repository by doing:
Patches
ETA of first half of July, 2022
Workarounds
The simplest way to avoid being affected by the exploit described in the example is to avoid running git as root (or an Administrator in Windows), and if needed to reduce its use to a minimum.
While a generic workaround is not possible, a system could be hardened from the exploit described in the example by removing any such repository if it exists already and creating one as root to block any future attacks.
References
For more information
If you have any questions or comments about this advisory:
For public questions, contact the Git mailing list (details at https://git-scm.com/community)
To disclose further vulnerabilities privately, contact the Git-security list by emailing [email protected]
Impact
Privilege escalation in all platforms
An unsuspecting user could still be affected by the issue reported in CVE-2022-24765, for example when navigating as root into a shared tmp directory that is owned by them, but where an attacker could create a git repository by doing:
Patches
ETA of first half of July, 2022
Workarounds
The simplest way to avoid being affected by the exploit described in the example is to avoid running git as root (or an Administrator in Windows), and if needed to reduce its use to a minimum.
While a generic workaround is not possible, a system could be hardened from the exploit described in the example by removing any such repository if it exists already and creating one as root to block any future attacks.
References
For more information
If you have any questions or comments about this advisory:
For public questions, contact the Git mailing list (details at https://git-scm.com/community)
To disclose further vulnerabilities privately, contact the Git-security list by emailing [email protected]