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
| Product | Affected versions | Fixed 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
- openSUSE-SU-2019:1572 vendor-advisory
- openSUSE-SU-2019:1573 vendor-advisory
- RHSA-2019:2519 vendor-advisory
- RHSA-2019:3299 vendor-advisory
- bugs.php.net exploit issue-tracking vendor-advisory
- [debian-lts-announce] 20190331 [SECURITY] [DLA 1741-1] php5 security update mailing-list third-party-advisory
- security.netapp.com third-party-advisory
- USN-3902-1 third-party-advisory vendor-advisory
- USN-3922-2 third-party-advisory vendor-advisory
- USN-3922-3 third-party-advisory vendor-advisory
- DSA-4398 third-party-advisory vendor-advisory
- www.tenable.com
- security.alpinelinux.org vendor-advisory