Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 433
Alerts This Week
Warning Icon 1 433

RedHat: RHSA-2019-2519 Moderate: php Update Fixes Multiple Security Issues

red hat
Calendar Grey August 19, 2019
Dist Redhat Esm H88
A recent update for rh-php71-php boosts security, addressing several vulnerabilities assessed as moderate by Red Hat, while also improving overall stability.
An update for rh-php71-php is now available for Red Hat Software Collections

Solution

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.

Summary

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.
The following packages have been upgraded to a later upstream version: rh-php71-php (7.1.30). (BZ#1631672)
Security Fix(es):
* gd: Unsigned integer underflow _gdContributionsAlloc() (CVE-2016-10166)
* php: Out of bounds access in php_pcre.c:php_pcre_replace_impl() (CVE-2017-9118)
* php: Integer overflow in mysqli_api.c:mysqli_real_escape_string() (CVE-2017-9120)
* php: Heap use after free in ext/standard/var_unserializer.re (CVE-2017-12932)
* php: Reflected XSS in .phar 404 page (CVE-2018-5712)
* php: Stack-based buffer under-read in php_stream_url_wrap_http_ex() in http_fopen_wrapper.c when parsing HTTP response (CVE-2018-7584)
* php: Infinite loop in ext/iconv/iconv.c when using stream filter with convert.incov on invalid sequence leads to denial-of-service (CVE-2018-10546)
* php: Reflected XSS vulnerability on PHAR 403 and 404 error pages (CVE-2018-10547)
* php: NULL pointer dereference due to mishandling of ldap_get_dn return value allows DoS via malicious LDAP server reply (CVE-2018-10548)
* php: Mishandled http_header_value in an atoi() call in http_fopen_wrapper.c (CVE-2018-14884)
* php: Cross-site scripting (XSS) flaw in Apache2 component via body of 'Transfer-Encoding: chunked' request (CVE-2018-17082)
* gd: Heap based buffer overflow in gdImageColorMatch() in gd_color_match.c (CVE-2019-6977)
* php: Invalid memory access in function xmlrpc_decode() (CVE-2019-9020)
* php: File rename across filesystems may allow unwanted access during processing (CVE-2019-9637)
* php: Uninitialized read in exif_process_IFD_in_MAKERNOTE (CVE-2019-9638)
* php: Uninitialized read in exif_process_IFD_in_MAKERNOTE (CVE-2019-9639)
* php: Invalid read in exif_process_SOFn() (CVE-2019-9640)
* php: Out-of-bounds read due to integer overflow in iconv_mime_decode_headers() (CVE-2019-11039)
* php: Buffer over-read in exif_read_data() (CVE-2019-11040)
* php: Out-of-bound read in timelib_meridian() (CVE-2017-16642)
* gd: Infinite loop in gdImageCreateFromGifCtx() in gd_gif_in.c (CVE-2018-5711)
* php: Dumpable FPM child processes allow bypassing opcache access controls (CVE-2018-10545)
* php: Out-of-bounds read in ext/exif/exif.c:exif_read_data() when reading crafted JPEG data (CVE-2018-10549)
* php: exif: Buffer over-read in exif_process_IFD_in_MAKERNOTE() (CVE-2018-14851)
* php: Buffer over-read in PHAR reading functions (CVE-2018-20783)
* php: Heap-based buffer over-read in PHAR reading functions (CVE-2019-9021)
* php: memcpy with negative length via crafted DNS response (CVE-2019-9022)
* php: Heap-based buffer over-read in mbstring regular expression functions (CVE-2019-9023)
* php: Out-of-bounds read in base64_decode_xmlrpc in ext/xmlrpc/libxmlrpc/base64.c (CVE-2019-9024)
* php: Heap buffer overflow in function exif_process_IFD_TAG() (CVE-2019-11034)
* php: Heap buffer overflow in function exif_iif_add_value() (CVE-2019-11035)
* php: Buffer over-read in exif_process_IFD_TAG() leading to information disclosure (CVE-2019-11036)
* gd: Information disclosure in gdImageCreateFromXbm() (CVE-2019-11038)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

References

https://access.redhat.com/security/cve/CVE-2016-10166 https://access.redhat.com/security/cve/CVE-2017-9118 https://access.redhat.com/security/cve/CVE-2017-9120 https://access.redhat.com/security/cve/CVE-2017-12932 https://access.redhat.com/security/cve/CVE-2017-16642 https://access.redhat.com/security/cve/CVE-2018-5711 https://access.redhat.com/security/cve/CVE-2018-5712 https://access.redhat.com/security/cve/CVE-2018-7584 https://access.redhat.com/security/cve/CVE-2018-10545 https://access.redhat.com/security/cve/CVE-2018-10546 https://access.redhat.com/security/cve/CVE-2018-10547 https://access.redhat.com/security/cve/CVE-2018-10548 https://access.redhat.com/security/cve/CVE-2018-10549 https://access.redhat.com/security/cve/CVE-2018-14851 https://access.redhat.com/security/cve/CVE-2018-14884 https://access.redhat.com/security/cve/CVE-2018-17082 https://access.redhat.com/security/cve/CVE-2018-20783 https://access.redhat.com/security/cve/CVE-2019-6977 https://access.redhat.com/security/cve/CVE-2019-9020 https://access.redhat.com/security/cve/CVE-2019-9021 https://access.redhat.com/security/cve/CVE-2019-9022 https://access.redhat.com/security/cve/CVE-2019-9023 https://access.redhat.com/security/cve/CVE-2019-9024 https://access.redhat.com/security/cve/CVE-2019-9637 Read the Full Advisory

Package List

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7):
Source: rh-php71-php-7.1.30-1.el7.src.rpm
aarch64: rh-php71-php-7.1.30-1.el7.aarch64.rpm rh-php71-php-bcmath-7.1.30-1.el7.aarch64.rpm rh-php71-php-cli-7.1.30-1.el7.aarch64.rpm rh-php71-php-common-7.1.30-1.el7.aarch64.rpm rh-php71-php-dba-7.1.30-1.el7.aarch64.rpm rh-php71-php-dbg-7.1.30-1.el7.aarch64.rpm rh-php71-php-debuginfo-7.1.30-1.el7.aarch64.rpm rh-php71-php-devel-7.1.30-1.el7.aarch64.rpm rh-php71-php-embedded-7.1.30-1.el7.aarch64.rpm rh-php71-php-enchant-7.1.30-1.el7.aarch64.rpm rh-php71-php-fpm-7.1.30-1.el7.aarch64.rpm rh-php71-php-gd-7.1.30-1.el7.aarch64.rpm rh-php71-php-gmp-7.1.30-1.el7.aarch64.rpm rh-php71-php-intl-7.1.30-1.el7.aarch64.rpm rh-php71-php-json-7.1.30-1.el7.aarch64.rpm rh-php71-php-ldap-7.1.30-1.el7.aarch64.rpm rh-php71-php-mbstring-7.1.30-1.el7.aarch64.rpm rh-php71-php-mysqlnd-7.1.30-1.el7.aarch64.rpm rh-php71-php-odbc-7.1.30-1.el7.aarch64.rpm rh-php71-php-opcache-7.1.30-1.el7.aarch64.rpm rh-php71-php-pdo-7.1.30-1.el7.aarch64.rpm rh-php71-php-pgsql-7.1.30-1.el7.aarch64.rpm rh-php71-php-process-7.1.30-1.el7.aarch64.rpm rh-php71-php-pspell-7.1.30-1.el7.aarch64.rpm rh-php71-php-recode-7.1.30-1.el7.aarch64.rpm rh-php71-php-snmp-7.1.30-1.el7.aarch64.rpm

Read the Full Advisory


Advisory ID: RHSA-2019:2519-01
Product: Red Hat Software Collections
Issue date: 2019-08-19

Topic

An update for rh-php71-php is now available for Red Hat SoftwareCollections.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) - aarch64, ppc64le, s390x, x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) - ppc64le, s390x, x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) - ppc64le, s390x, x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) - ppc64le, s390x, x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) - x86_64

Bugs Fixed

1418983 - CVE-2016-10166 gd: Unsigned integer underflow _gdContributionsAlloc()

1484837 - CVE-2017-12932 php: Heap use after free in ext/standard/var_unserializer.re

1512057 - CVE-2017-16642 php: Out-of-bound read in timelib_meridian()

1535246 - CVE-2018-5711 gd: Infinite loop in gdImageCreateFromGifCtx() in gd_gif_in.c

1535251 - CVE-2018-5712 php: Reflected XSS in .phar 404 page

1551039 - CVE-2018-7584 php: Stack-based buffer under-read in php_stream_url_wrap_http_ex() in http_fopen_wrapper.c when parsing HTTP response

1563858 - CVE-2018-10545 php: Dumpable FPM child processes allow bypassing opcache access controls

1573797 - CVE-2018-10549 php: Out-of-bounds read in ext/exif/exif.c:exif_read_data() when reading crafted JPEG data

1573802 - CVE-2018-10546 php: Infinite loop in ext/iconv/iconv.c when using stream filter with convert.incov on invalid sequence leads to denial-of-service

1573805 - CVE-2018-10548 php: NULL pointer dereference due to mishandling of ldap_get_dn return value allows DoS via malicious LDAP server reply

1573814 - CVE-2018-10547 php: Reflected XSS vulnerability on PHAR 403 and 404 error pages

1609642 - CVE-2018-14851 php: exif: Buffer over-read in exif_process_IFD_in_MAKERNOTE()

1611890 - CVE-2017-9118 php: Out of bounds access in php_pcre.c:php_pcre_replace_impl()

1611898 - CVE-2017-9120 php: Integer overflow in mysqli_api.c:mysqli_real_escape_string()

Read the Full Advisory

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.