CVE-2009-0159 Memory corruption in n/a

Medium 6.8 Published Updated

Remote NTP servers can execute arbitrary code on clients via a crafted response due to a stack-based buffer overflow in ntpq.

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

What is CVE-2009-0159?

CVE-2009-0159 is a medium-severity memory corruption vulnerability in Ntp Ntp, published on 14 Apr 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Stack-based buffer overflow in the cookedprint function in ntpq/ntpq.c in ntpq in NTP before 4.2.4p7-RC2 allows remote NTP servers to execute arbitrary code via a crafted response.

Weakness: CWE-119

Which versions are affected by CVE-2009-0159?

It affects 1 product.

Products include Ntp Ntp.

How do I fix CVE-2009-0159?

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-2009-0159 being exploited?

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

All Ntp Ntp vulnerabilities

Sources

Also known as DEBIAN-CVE-2009-0159, GHSA-wg77-pm57-j6rv.

Is CVE-2009-0159 in your software?

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

Check your SBOMs for free