ADVISORIES

CVE Program

CNA-CVE-2024-9026

PHP-FPM logs from children may be altered

Details

In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, when using PHP-FPM SAPI and it is configured to catch workers output through catch_workers_output = yes, it may be possible to pollute the final log or remove up to 4 characters from the log messages by manipulating log message content. Additionally, if PHP-FPM is configured to use syslog output, it may be possible to further remove log data using the same vulnerability.

Affected packages

EcosystemPackageAffected versions
PHPphp
From 8.1 before 8.1.30 (fixed in 8.1.30)
From 8.2 before 8.2.24 (fixed in 8.2.24)
From 8.3 before 8.3.12 (fixed in 8.3.12)

References