We are using PHP 5.6.33 with CentOS in production environment. We found that PHP is having following vulnerability CVE-2018-7584. On the official page it is showing following :
In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while parsing an HTTP response in the php_stream_url_wrap_http_ex function in ext/standard/http_fopen_wrapper.c. This subsequently results in copying a large string.
References : https://www.cvedetails.com/cve-details.php?t=1&cve_id=CVE-2017-7679 https://www.exploit-db.com/exploits/44846/
It seems PHP 7.2 is also having same vulnerability. Is there any solution or workaround for this ?