PT-2017-2621

CVE-2017-9226

·

Publicado

2017-05-18

·

Atualizado

2026-10-19

Descrição por

CVSS 3.1
9.8
Crítica
MétricasAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Oniguruma versions 6.2.0 Oniguruma-mod in Ruby versions through 2.4.1 mbstring in PHP versions through 7.1.5
Description The issue is caused by incorrect handling of numbers larger than 0xff in the fetch token() and fetch token in cc() functions during regular expression compilation. Exploitation of this issue may allow a remote attacker to cause memory corruption by using a specially crafted octal number in the form of "700" that exceeds 0xff, resulting in an out-of-bounds write when processed. This can lead to memory corruption due to the incorrect handling of octal numbers in the next state val() function.
Recommendations For Oniguruma version 6.2.0, consider disabling the fetch token() and fetch token in cc() functions until a patch is available. For Oniguruma-mod in Ruby versions through 2.4.1, restrict the use of octal numbers in regular expressions to prevent exploitation. For mbstring in PHP versions through 7.1.5, avoid using the next state val() function with malformed regular expressions containing octal numbers larger than 0xff until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Explorabilidade
Exploit
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Identificadores relacionados
ALT-PU-2017-1820
ALT-PU-2017-1822
ALT-PU-2017-1855
CLSA-2026-1792167430
CLSA-2026-1792174968
DLA-958-1
MGASA-2017-0246
RHSA-2018:1296
SUSE-SU-2017:1585-1
SUSE-SU-2017:1662-1
SUSE-SU-2017:1717-1
USN-3382-1
USN-3382-2
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾