Red Hat Security Advisory: rh-php72-php security update
🔗 CVE IDs covered (21)
📋 Description
CVE-2016-10166 — gd: Unsigned integer underflow _gdContributionsAlloc() CVE-2018-20783 — php: Buffer over-read in PHAR reading functions CVE-2019-6977 — gd: Heap-based buffer overflow in gdImageColorMatch() in gd_color_match.c CVE-2019-9020 — php: Invalid memory access in function xmlrpc_decode() CVE-2019-9021 — php: Heap-based buffer over-read in PHAR reading functions CVE-2019-9022 — php: memcpy with negative length via crafted DNS response CVE-2019-9023 — php: Heap-based buffer over-read in mbstring regular expression functions CVE-2019-9024 — php: Out-of-bounds read in base64_decode_xmlrpc in ext/xmlrpc/libxmlrpc/base64.c CVE-2019-9637 — php: File rename across filesystems may allow unwanted access during processing CVE-2019-9638 — php: Uninitialized read in exif_process_IFD_in_MAKERNOTE CVE-2019-9639 — php: Uninitialized read in exif_process_IFD_in_MAKERNOTE CVE-2019-9640 — php: Invalid read in exif_process_SOFn() CVE-2019-11034 — php: Heap buffer overflow in function exif_process_IFD_TAG() CVE-2019-11035 — php: Heap buffer overflow in function exif_iif_add_value() CVE-2019-11036 — php: Buffer over-read in exif_process_IFD_TAG() leading to information disclosure CVE-2019-11038 — gd: Information disclosure in gdImageCreateFromXbm() CVE-2019-11039 — php: Out-of-bounds read due to integer overflow in iconv_mime_decode_headers() CVE-2019-11040 — php: Buffer over-read in exif_read_data() CVE-2019-11041 — php: Heap buffer over-read in exif_scan_thumbnail() CVE-2019-11042 — php: Heap buffer over-read in exif_process_user_comment() CVE-2019-11043 — php: underflow in env_path_info in fpm_main.c
🎯 Affected products200
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- rh-php72-php-0:7.2.24-1.el7.aarch64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-php72-php-0:7.2.24-1.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-php72-php-0:7.2.24-1.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- rh-php72-php-0:7.2.24-1.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- rh-php72-php-0:7.2.24-1.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)
- rh-php72-php-0:7.2.24-1.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-php72-php-0:7.2.24-1.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- rh-php72-php-0:7.2.24-1.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- rh-php72-php-0:7.2.24-1.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)
- rh-php72-php-0:7.2.24-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-php72-php-0:7.2.24-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- rh-php72-php-0:7.2.24-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- rh-php72-php-0:7.2.24-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)
- rh-php72-php-0:7.2.24-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- rh-php72-php-0:7.2.24-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-php72-php-0:7.2.24-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- rh-php72-php-0:7.2.24-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- rh-php72-php-0:7.2.24-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)
- rh-php72-php-0:7.2.24-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- rh-php72-php-bcmath-0:7.2.24-1.el7.aarch64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-php72-php-bcmath-0:7.2.24-1.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-php72-php-bcmath-0:7.2.24-1.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- rh-php72-php-bcmath-0:7.2.24-1.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- rh-php72-php-bcmath-0:7.2.24-1.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)
- rh-php72-php-bcmath-0:7.2.24-1.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- +170 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, the httpd daemon must be restarted for the update to take effect. Workaround: 1) Check your nginx configuration files, specially the ones related to php-fpm for presence of pattern bellow on fastcgi_split_path_info regex and PATH_INFO parameter: ~~~ fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_param PATH_INFO $fastcgi_path_info; ~~~ 2) If fastcgi_split_path_info regex matches with the one above, for each fastcgi_param PATH_INFO entry perform the following change: ~~~ fastcgi_param PATH_INFO $fastcgi_path_info if_not_empty; ~~~ This step will allow you to safely continue using PATH_INFO parameter while the patch is not applied. 3) Restart your nginx instance: ~~~ systemctl restart nginx ~~~
🔗 References (24)
- selfhttps://access.redhat.com/errata/RHSA-2019:3299
- externalhttps://access.redhat.com/security/updates/classification/#critical
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1418983
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1672207
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1680545
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1685123
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1685132
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1685398
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1685404
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1685412
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1688897
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1688922
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1688934
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1688939
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1702246
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1702256
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1707299
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1724149
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1724152
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1724154
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1739459
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1739465
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1766378
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_3299.json