Name | CVE-2019-9022 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1741-1, DSA-4398-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
php7.3 (PTS) | buster | 7.3.31-1~deb10u1 | fixed |
| buster (security) | 7.3.31-1~deb10u5 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
php5 | source | jessie | 5.6.40+dfsg-0+deb8u2 | | DLA-1741-1 | |
php5 | source | (unstable) | (unfixed) | | | |
php7.0 | source | stretch | 7.0.33-0+deb9u2 | | DSA-4398-1 | |
php7.0 | source | (unstable) | (unfixed) | | | |
php7.3 | source | (unstable) | 7.3.2-1 | | | |
Notes
Fixed in 7.1.26, 7.2.14, 7.3.2
PHP Bug: https://bugs.php.net/bug.php?id=77369
https://github.com/php/php-src/commit/8d3dfabef459fe7815e8ea2fd68753fd17859d7b (7.1)