Skip to content

CVE-2019-9022 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 memc...

HighCVSS 7.5 EPSS 4.2%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
PHP >= 7.0.0, < 7.1.26 7.1.26
PHP >= 7.2.0, < 7.2.14 7.2.14
PHP >= 7.3.0, < 7.3.2 7.3.2
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
Canonical Ubuntu Linux = 12.04 No fix listed
Canonical Ubuntu Linux = 14.04 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
netapp storage automation store All versions No fix listed
alpine/php7(Alpine:v3.10) < 7.2.14-r0 7.2.14-r0
alpine/php7(Alpine:v3.11) < 7.2.14-r0 7.2.14-r0
alpine/php7(Alpine:v3.12) < 7.2.14-r0 7.2.14-r0
alpine/php7(Alpine:v3.13) < 7.2.14-r0 7.2.14-r0
alpine/php7(Alpine:v3.14) < 7.2.14-r0 7.2.14-r0
alpine/php7(Alpine:v3.15) < 7.2.14-r0 7.2.14-r0
alpine/php7(Alpine:v3.8) < 7.2.17-r0 7.2.17-r0
alpine/php7(Alpine:v3.9) < 7.2.14-r0 7.2.14-r0

References