Skip to content
OpenAdvisories
Unscored CVE-2019-9022 EUVD-2019-18409GHSA-wvv6-mrff-rp8j

An issue was discovered in PHP 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.2. dns_get_record misparses a DNS response, whi…

Published Feb 22, 2019 · Updated Aug 4, 2024 · Assigned by mitre

Description

An issue was discovered in PHP 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.2. dns_get_record misparses a DNS response, which can allow a hostile DNS server to cause PHP to misuse memcpy, leading to read operations going past the buffer allocated for DNS data. This affects php_parserr in ext/standard/dns.c for DNS_CAA and DNS_ANY queries.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 9 php7.0 7.0.33-0+deb9u2 DSA-4398-1
Debian 8 php5 5.6.40+dfsg-0+deb8u2 DLA-1741-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS php7.2 7.2.15-0ubuntu0.18.04.1 —
Ubuntu 16.04 LTS php7.0 7.0.33-0ubuntu0.16.04.2 USN-3902-1
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.29 USN-3922-2, USN-3902-1
ReleasePackageFixed inAdvisory
RHEL 8 apcu-panel +2 5.1.12-2.module+el8.1.0+3202+af5476b9 RHSA-2020:1624
RHEL 8 libzip +2 1.5.1-2.module+el8.1.0+3202+af5476b9 RHSA-2020:1624
RHEL 8 php +25 7.2.24-1.module+el8.2.0+4601+7c76a223 RHSA-2020:1624
RHEL 8 php-pear 1:1.10.5-9.module+el8.1.0+3202+af5476b9 RHSA-2020:1624
RHEL 8 php-pecl-zip 1.15.3-1.module+el8.1.0+3186+20164e6f RHSA-2020:1624
RHEL 3 rh-php71-php +27 7.1.30-1.el7 RHSA-2019:2519
RHEL 3 rh-php72-php +27 7.2.24-1.el7 RHSA-2019:3299

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 apcu-panel +2 5.1.12-2.module_el8.3.0+2010+7c76a223 ALSA-2020:1624
AlmaLinux 8 libzip +2 1.5.1-2.module_el8.3.0+2010+7c76a223 ALSA-2020:1624
AlmaLinux 8 php +25 7.2.24-1.module_el8.3.0+2010+7c76a223 ALSA-2020:1624
AlmaLinux 8 php-pear 1:1.10.5-9.module_el8.3.0+2010+7c76a223 ALSA-2020:1624
AlmaLinux 8 php-pecl-zip 1.15.3-1.module_el8.3.0+2010+7c76a223 ALSA-2020:1624

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libzip 1.5.1-2.module+el8.4.0+413+c9202dda RLSA-2020:1624
Rocky Linux 8 php 7.2.24-1.module+el8.4.0+413+c9202dda RLSA-2020:1624
Rocky Linux 8 php-pear 1:1.10.5-9.module+el8.4.0+413+c9202dda RLSA-2020:1624
Rocky Linux 8 php-pecl-apcu 5.1.12-2.module+el8.4.0+413+c9202dda RLSA-2020:1624
Rocky Linux 8 php-pecl-zip 1.15.3-1.module+el8.4.0+413+c9202dda RLSA-2020:1624
ReleasePackageFixed inAdvisory
SLES 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES 15 php7 7.2.5-4.32.1 SUSE-SU-2022:4067-1, SUSE-SU-2019:1461-1
SLES 12 SP4 libmemcached 1.0.18-3.2.1 SUSE-RU-2019:0823-1
SLES 12 SP4 php72 7.2.5-1.7.1 SUSE-RU-2019:0823-1
SLES 12 SP4 tidy 1.0.20100204cvs-26.2.1 SUSE-RU-2019:0823-1
SLES 12 SP3 libmemcached 1.0.18-3.2.1 SUSE-RU-2019:0823-1
SLES 12 SP3 php72 7.2.5-1.7.1 SUSE-RU-2019:0823-1
SLES 12 SP3 tidy 1.0.20100204cvs-26.2.1 SUSE-RU-2019:0823-1
SLES 12 libmemcached 1.0.18-3.2.1 SUSE-RU-2019:0823-1
SLES 12 php72 7.2.5-1.7.1 SUSE-RU-2019:0823-1
SLES 12 php72-memcached 3.1.3-1.3.1 SUSE-RU-2019:0823-1
SLES 12 tidy 1.0.20100204cvs-26.2.1 SUSE-RU-2019:0823-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES for SAP 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES for SAP 12 SP4 libmemcached 1.0.18-3.2.1 SUSE-RU-2019:0823-1
SLES for SAP 12 SP3 libmemcached 1.0.18-3.2.1 SUSE-RU-2019:0823-1
SLE HPC 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLE HPC 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SUSE Enterprise Storage 6 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php7 7.4.24-1.1 openSUSE-SU-2024:11167-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1
openSUSE Leap 15.4 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
openSUSE Leap 15.1 php7 7.2.5-lp151.6.3.1 openSUSE-SU-2019:1572-1
openSUSE Leap 15.0 php7 7.2.5-lp150.2.19.1 openSUSE-SU-2019:1573-1
ReleasePackageFixed inAdvisory
Alpine v3.15 php7 7.2.14-r0 —
Alpine v3.14 php7 7.2.14-r0 —
Alpine v3.13 php7 7.2.14-r0 —
Alpine v3.12 php7 7.2.14-r0 —
Alpine v3.11 php7 7.2.14-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.10 php7 7.2.14-r0 —
Alpine v3.9 php7 7.2.14-r0 —
Alpine v3.8 php7 7.2.17-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 apcu-panel +2 5.1.12-2.module+el8.2.0+5510+6771133c ELSA-2020-1624
Oracle Linux 8 libzip +2 1.5.1-2.module+el8.2.0+5510+6771133c ELSA-2020-1624
Oracle Linux 8 php +25 7.2.24-1.module+el8.2.0+5510+6771133c ELSA-2020-1624
Oracle Linux 8 php-pear 1:1.10.5-9.module+el8.2.0+5510+6771133c ELSA-2020-1624
Oracle Linux 8 php-pecl-zip 1.15.3-1.module+el8.2.0+5510+6771133c ELSA-2020-1624

Advisories 20

References