CVE-2009-0159
MEDIUM 6.8CVSS 2.0Stack-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.
- Published
- 14 Apr 2009
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-119
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:*:rc1:*:*:*:*:*:* |
<= 4.2.4p7 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.0.72:*:*:*:*:*:*:* |
= 4.0.72 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.0.73:*:*:*:*:*:*:* |
= 4.0.73 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.0.90:*:*:*:*:*:*:* |
= 4.0.90 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.0.91:*:*:*:*:*:*:* |
= 4.0.91 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.0.92:*:*:*:*:*:*:* |
= 4.0.92 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.0.93:*:*:*:*:*:*:* |
= 4.0.93 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.0.94:*:*:*:*:*:*:* |
= 4.0.94 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.0.95:*:*:*:*:*:*:* |
= 4.0.95 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.0.96:*:*:*:*:*:*:* |
= 4.0.96 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.0.97:*:*:*:*:*:*:* |
= 4.0.97 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.0.98:*:*:*:*:*:*:* |
= 4.0.98 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.0.99:*:*:*:*:*:*:* |
= 4.0.99 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.1.0:*:*:*:*:*:*:* |
= 4.1.0 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.1.2:*:*:*:*:*:*:* |
= 4.1.2 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.0:*:*:*:*:*:*:* |
= 4.2.0 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.2:*:*:*:*:*:*:* |
= 4.2.2 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.2p1:*:*:*:*:*:*:* |
= 4.2.2p1 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.2p2:*:*:*:*:*:*:* |
= 4.2.2p2 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.2p3:*:*:*:*:*:*:* |
= 4.2.2p3 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.2p4:*:*:*:*:*:*:* |
= 4.2.2p4 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.4:*:*:*:*:*:*:* |
= 4.2.4 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.4p0:*:*:*:*:*:*:* |
= 4.2.4p0 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.4p1:*:*:*:*:*:*:* |
= 4.2.4p1 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.4p2:*:*:*:*:*:*:* |
= 4.2.4p2 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.4p3:*:*:*:*:*:*:* |
= 4.2.4p3 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.4p4:*:*:*:*:*:*:* |
= 4.2.4p4 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.4p5:*:*:*:*:*:*:* |
= 4.2.4p5 | |
| NVD | ntp | ntpcpe:2.3:a:ntp:ntp:4.2.4p6:*:*:*:*:*:*:* |
= 4.2.4p6 |
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 · Vendor Advisory
- http://secunia.com/advisories/35074 · Vendor Advisory
- http://secunia.com/advisories/35137 · Vendor Advisory
- http://secunia.com/advisories/35138 · Vendor Advisory
- http://secunia.com/advisories/35166 · Vendor Advisory
- http://secunia.com/advisories/35169 · Vendor Advisory
- http://secunia.com/advisories/35253 · Vendor Advisory
- http://secunia.com/advisories/35308 · Vendor Advisory
- http://secunia.com/advisories/35336 · Vendor Advisory
- http://secunia.com/advisories/35416 · Vendor Advisory
- http://secunia.com/advisories/35630 · Vendor Advisory
- http://secunia.com/advisories/37471 · Vendor Advisory
- 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
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:092
- http://www.securityfocus.com/archive/1/507985/100/0/threaded
- http://www.securityfocus.com/bid/34481 · Patch
- http://www.securitytracker.com/id?1022033
- http://www.us-cert.gov/cas/techalerts/TA09-133A.html · US Government Resource
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- http://www.vupen.com/english/advisories/2009/0999 · Vendor Advisory
- http://www.vupen.com/english/advisories/2009/1297 · Vendor Advisory
- http://www.vupen.com/english/advisories/2009/3316 · Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=490617
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49838
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19392
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5411
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8386
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8665
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9634
- https://rhn.redhat.com/errata/RHSA-2009-1651.html
- https://support.ntp.org/bugs/show_bug.cgi?id=1144 · Patch
- https://usn.ubuntu.com/777-1/
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01414.html
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01449.html
History
- 25 Nov 2026 20:15 UTC · NVD: first stored (published 14 Apr 2009)