PT-2023-2474 · Php+10 · Php+10
Niels Dossche
·
Publicado
2023-02-15
·
Atualizado
2025-08-11
·
CVE-2023-0568
CVSS v3.1
8.1
Alta
| Vetor | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
PHP versions 8.0.0 through 8.0.27
PHP versions 8.1.0 through 8.1.15
PHP versions 8.2.0 through 8.2.2
Description
The issue is related to the core path resolution function in PHP, which allocates a buffer one byte too small. When resolving paths with lengths close to the system MAXPATHLEN setting, this may lead to the byte after the allocated buffer being overwritten with a NUL value, potentially resulting in unauthorized data access or modification.
Recommendations
For PHP versions 8.0.0 through 8.0.27, update to version 8.0.28 or later.
For PHP versions 8.1.0 through 8.1.15, update to version 8.1.16 or later.
For PHP versions 8.2.0 through 8.2.2, update to version 8.2.3 or later.
Exploit
Correção
Allocation of Resources Without Limits
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Php
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu