CVE-2009-0159
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 13.2% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 13.2% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 13.2% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Ntp ≤ 4.2.4p7
- Ntp 4.0.72
- Ntp 4.0.73
- Ntp 4.0.90
- Ntp 4.0.91
- Ntp 4.0.92
- Ntp 4.0.93
- Ntp 4.0.94
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2009-0159.md and follow it. Check whether this project is affected by CVE-2009-0159. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/34608
- http://secunia.com/advisories/35074
- http://secunia.com/advisories/35137
- http://secunia.com/advisories/35138
- http://secunia.com/advisories/35166
- http://secunia.com/advisories/35169
- http://secunia.com/advisories/35253
- http://secunia.com/advisories/35308
- http://secunia.com/advisories/35336
- http://secunia.com/advisories/35416
References
- ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2009-006.txt.asc
- http://bugs.pardus.org.tr/show_bug.cgi?id=9532
- http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2009-06/msg00003.html
- http://marc.info/?l=bugtraq&m=136482797910018&w=2
- http://ntp.bkbits.net:8080/ntp-stable/?PAGE=gnupatch&REV=1.1565
- http://osvdb.org/53593
- http://rhn.redhat.com/errata/RHSA-2009-1039.html
- http://rhn.redhat.com/errata/RHSA-2009-1040.html
- http://secunia.com/advisories/34608
- http://secunia.com/advisories/35074
- http://secunia.com/advisories/35137
- http://secunia.com/advisories/35138
- http://secunia.com/advisories/35166
- http://secunia.com/advisories/35169
- http://secunia.com/advisories/35253
- http://secunia.com/advisories/35308
- http://secunia.com/advisories/35336
- http://secunia.com/advisories/35416
- http://secunia.com/advisories/35630
- http://secunia.com/advisories/37471
- http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.566238
- http://support.apple.com/kb/HT3549
- http://www.debian.org/security/2009/dsa-1801
- http://www.gentoo.org/security/en/glsa/glsa-200905-08.xml