CVE-2019-9022 Memory corruption in n/a

High 7.5 Published Updated

A hostile DNS server can trigger a buffer over-read in PHP's dns_get_record function, potentially exposing memory or causing a crash.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-9022?

CVE-2019-9022 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 22 Feb 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2019-9022?

It affects 4 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Netapp Storage Automation Store, Php Php.

How do I fix CVE-2019-9022?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-9022 being exploited?

There is no known exploitation of CVE-2019-9022 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-wvv6-mrff-rp8j, UBUNTU-CVE-2019-9022.

Is CVE-2019-9022 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free