PT-2023-20513
CVE-2023-26134
·
Publicado
2023-06-28
·
Atualizado
2023-07-06
Descrição por
CVSS 3.1
9.8
CríticaMétricasAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
git-commit-info versions prior to 2.0.2
Description
The issue arises from the
gitCommitInfo() method failing to sanitize its commit parameter, which later flows into a sensitive command execution API. This allows attackers to inject malicious commands once they control the hash content, potentially leading to command injection attacks. The vulnerability enables attackers to inject arguments to the git binary.Recommendations
For versions prior to 2.0.2, update to version 2.0.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
gitCommitInfo() function until a patch is available. Avoid using the commit parameter in sensitive command execution APIs until the issue is resolved.Explorabilidade
Exploit
Correção
Impactos
Fornecedores
Produtos afetados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾