PT-2019-1895 · Php+7 · Php+7

H4X0N4Ut

·

Published

2019-01-17

·

Updated

2024-06-15

·

CVE-2019-9022

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions PHP versions 7.0.x through 7.1.25 PHP versions 7.2.x through 7.2.13 PHP versions 7.3.x through 7.3.1
Description An issue in PHP's dns get record function can cause it to misparse a DNS response, allowing 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. The vulnerability is related to a buffer overflow in the PHAR dns get record function, which can allow a remote attacker to access confidential data when processing DNS responses.
Recommendations For PHP versions 7.0.x through 7.1.25, update to version 7.1.26 or later. For PHP versions 7.2.x through 7.2.13, update to version 7.2.14 or later. For PHP versions 7.3.x through 7.3.1, update to version 7.3.2 or later.

Exploit

Fix

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2020:1624
ALT-PU-2019-1060
BDU:2019-01553
CESA-2020_1624
CVE-2019-9022
DLA-1741-1
DSA-4398-1
OPENSUSE-SU-2019:1572-1
OPENSUSE-SU-2019:1573-1
OPENSUSE-SU-2019_1572-1
OPENSUSE-SU-2019_1573-1
OPENSUSE-SU-2022_4067-1
OPENSUSE-SU-2024:11167-1
OPENSUSE-SU-2024:11169-1
RHSA-2019:2519
RHSA-2019:3299
RHSA-2020:1624
RHSA-2020_1624
RLSA-2020:1624
SUSE-RU-2019:0823-1
SUSE-SU-2019:1461-1
SUSE-SU-2019_1461-1
SUSE-SU-2022:4067-1
USN-3902-1
USN-3922-2
USN-3922-3

Affected Products

Alt Linux
Almalinux
Centos
Php
Red Hat
Rocky Linux
Suse
Ubuntu