CVE-2018-7183 Memory corruption in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code via a crafted response to an ntpq query due to a buffer overflow in the decodearr function.

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

What is CVE-2018-7183?

CVE-2018-7183 is a critical memory corruption vulnerability in Canonical Ubuntu Linux, published on 8 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Buffer overflow in the decodearr function in ntpq in ntp 4.2.8p6 through 4.2.8p10 allows remote attackers to execute arbitrary code by leveraging an ntpq query and sending a response with a crafted array.

Weakness: CWE-787

Which versions are affected by CVE-2018-7183?

It affects 4 products.

Products include Canonical Ubuntu Linux, Freebsd Freebsd, Netapp Element Software, Ntp Ntp.

How do I fix CVE-2018-7183?

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-2018-7183 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-7183, GHSA-9429-whv8-4h3p, UBUNTU-CVE-2018-7183.

Is CVE-2018-7183 in your software?

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

Check your SBOMs for free