PT-2018-1898 · Gnu+5 · Gnu Patch+5

Rachel Kroll

·

Publicado

2018-04-05

·

Atualizado

2024-06-15

·

CVE-2018-1000156

CVSS v2.0

9.3

Alta

VetorAV:N/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions GNU Patch version 2.7.6
Description The issue is related to an input validation vulnerability in GNU Patch when processing patch files, specifically with the EDITOR PROGRAM invocation using ed. This can result in code execution. The vulnerability is exploitable via a patch file processed by the patch utility. It is similar to a previously known issue, although the code bases have diverged over time. The vulnerability is also related to the support for the outdated "ed" format, which allows the execution of external commands using the ! operator, potentially enabling a remote attacker to execute arbitrary code.
Recommendations For GNU Patch version 2.7.6, consider disabling the ed format support or restricting the use of the EDITOR PROGRAM invocation until a patch is available. Avoid using the ! operator in patch files to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

RCE

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

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2018-1872
AZL-35101
AZL-6785
BDU:2018-01502
CESA-2018_1199
CESA-2018_1200
CVE-2018-1000156
DLA-1348-1
DSA-4489-1
MGASA-2018-0277
OPENSUSE-SU-2018_1137-1
OPENSUSE-SU-2024:11151-1
OPENSUSE-SU-2024:11372-1
RHSA-2018:1199
RHSA-2018:1200
RHSA-2018:2091
RHSA-2018:2092
RHSA-2018:2093
RHSA-2018:2094
RHSA-2018:2095
RHSA-2018:2096
RHSA-2018:2097
RHSA-2018_1199
RHSA-2018_1200
SUSE-SU-2018:1128-1
SUSE-SU-2018:1162-1
USN-3624-1
USN-3624-2

Produtos afetados

Alt Linux
Centos
Gnu Patch
Red Hat
Suse
Ubuntu