CVE-2019-9022

NameCVE-2019-9022
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1741-1, DSA-4398-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php7.3 (PTS)buster7.3.31-1~deb10u1fixed
buster (security)7.3.31-1~deb10u5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5sourcejessie5.6.40+dfsg-0+deb8u2DLA-1741-1
php5source(unstable)(unfixed)
php7.0sourcestretch7.0.33-0+deb9u2DSA-4398-1
php7.0source(unstable)(unfixed)
php7.3source(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)

Search for package or bug name: Reporting problems