CVE-2015-9253
php-fpm endless child restart with a non-blocking STDIN
Severity: Medium CVSS 6.5. Status in our packages: Fixed.
About CVE-2015-9253
An issue was discovered in PHP 7.3.x before 7.3.0alpha3, 7.2.x before 7.2.8, and before 7.1.20. The php-fpm master process restarts a child process in an endless loop when using program execution functions (e.g., passthru, exec, shell_exec, or system) with a non-blocking STDIN stream, causing this master process to consume 100% of the CPU, and consume disk space with a large volume of error logs, as demonstrated by an attack by a customer of a shared-hosting facility.
Description quoted from the CVE record at cve.org.
| Published | 2018-02-19 |
|---|
Status in GetPageSpeed packages
| Product | Status | Fixed in | Details |
|---|---|---|---|
| PHP 5.3 | Fixed | 5.3.3-61 | Backported as php-cve-2015-9253.patch. Everpatch PHP |
| PHP 5.4 | Fixed | 5.4.45-34 | Backported as php-cve-2015-9253.patch. Everpatch PHP |
| PHP 5.6 | Fixed | 5.6.40-60 | Backported as php-cve-2015-9253.patch. Everpatch PHP |
| PHP 7.0 | Fixed | 7.0.33-61 | Backported as php-cve-2015-9253.patch. Everpatch PHP |
Check a server for CVE-2015-9253
Everpatch PHP on Enterprise Linux: PHP 5.3 5.3.3-61 or later, PHP 5.4 5.4.45-34 or later, PHP 5.6 5.6.40-60 or later, PHP 7.0 7.0.33-61 or later. The package changelog names every CVE a build fixes.
rpm -q php-common
rpm -q --changelog php-common | grep -F CVE-2015-9253After a PHP update, restart PHP-FPM (and Apache httpd if it runs mod_php): the old processes keep the vulnerable code until then.
Fixed in the same build
- CVE-2019-19246: Oniguruma heap over-read in str_lower_case_match
- CVE-2019-11038: Uninitialized read in gdImageCreateFromXbm
- CVE-2017-9120: Integer overflow in mysqli_real_escape_string
- CVE-2017-9119: Crash in i_zval_ptr_dtor after a memory limit error
- CVE-2017-9118: Out-of-bounds access in preg_replace
- CVE-2017-8923: Negative string length after .= with a long string
Scanner feeds (OVAL, CSAF, OpenVEX), fix-time targets and answers to common questions: the CVE tracker.