PT-2017-3414 · Mercurial+2 · Mercurial+2

Zhang Tianqi

·

Publicado

2017-11-02

·

Atualizado

2024-06-15

·

CVE-2017-17458

CVSS v3.1

10

Crítica

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Mercurial versions prior to 4.4.1
Description The issue is related to the execution of arbitrary code through a specially malformed repository. This can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. The typical use of Mercurial prevents the construction of such repositories, but they can be created programmatically.
Recommendations For versions prior to 4.4.1, update to version 4.4.1 or later to resolve the issue. As a temporary workaround, consider restricting the creation of repositories to prevent the construction of specially malformed repositories that could exploit this issue.

Correção

OS Command Injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2018-2508
BDU:2018-00202
CVE-2017-17458
DLA-1224-1
DLA-1414-1
DLA-1414-2
DLA-2293-1
GHSA-6V56-CPG6-3RPX
MGASA-2018-0041
OPENSUSE-SU-2024:10586-1
PYSEC-2017-90
SUSE-SU-2018:0127-1
SUSE-SU-2018:0129-1
SUSE-SU-2018_0127-1
SUSE-SU-2018_0129-1

Produtos afetados

Alt Linux
Mercurial
Suse