TROYANOSYVIRUS
Voltar para CVEs

CVE-2022-29187

HIGH
7.8

Descricao

Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to 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. Versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5 contain a patch for this issue. 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.

Detalhes CVE

Pontuacao CVSS v3.17.8
SeveridadeHIGH
Vetor CVSSCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vetor de ataqueLOCAL
ComplexidadeLOW
Privilegios necessariosLOW
Interacao do usuarioNONE
Publicado7/12/2022
Ultima modificacao11/21/2024
Fontenvd
Avistamentos honeypot0

Produtos afetados

apple:xcodedebian:debian_linuxfedoraproject:fedoragit-scm:git

Fraquezas (CWE)

CWE-282CWE-427CWE-427

Referencias

http://seclists.org/fulldisclosure/2022/Nov/1(security-advisories@github.com)
https://security.gentoo.org/glsa/202312-15(security-advisories@github.com)
https://security.gentoo.org/glsa/202401-17(security-advisories@github.com)
https://support.apple.com/kb/HT213496(security-advisories@github.com)
http://seclists.org/fulldisclosure/2022/Nov/1(af854a3a-2127-422b-91ae-364da2661108)
http://www.openwall.com/lists/oss-security/2022/07/14/1(af854a3a-2127-422b-91ae-364da2661108)
https://security.gentoo.org/glsa/202312-15(af854a3a-2127-422b-91ae-364da2661108)
https://security.gentoo.org/glsa/202401-17(af854a3a-2127-422b-91ae-364da2661108)
https://support.apple.com/kb/HT213496(af854a3a-2127-422b-91ae-364da2661108)

Correlacoes IOC

Sem correlacoes registradas

This product uses data from the NVD API but is not endorsed or certified by the NVD.