PT-2017-12814 · Joey Hess · Git-Annex
CVE-2017-12976
·
Publicado
2017-08-20
·
Atualizado
2025-11-14
CVSS v3.1
8.8
Alta
| Vetor | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
git-annex versions prior to 6.20170818
Description
The issue allows for command injection via malicious SSH hostname. An attacker could trick a victim into adding a remote repository with a specially crafted URL, such as
ssh://-eProxyCommand=evil/blah, potentially leading to arbitrary local code execution. The attacker could also embed the malicious URL in the git-annex branch using initremote and have the victim enable it with enableremote.Recommendations
For versions prior to 6.20170818, update to version 6.20170818 or later to resolve the issue. As a temporary workaround, consider avoiding the use of
initremote with SSH remotes and restricting the addition of new remote repositories to trusted sources.Correção
RCE
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Git-Annex