Skip to content
OpenAdvisories
Unscored CVE-2009-0159 EUVD-2009-0168GHSA-wg77-pm57-j6rv

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 execu…

Published Apr 14, 2009 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 ntp 1:4.2.4p6+dfsg-2 —
Debian 5.0 ntp 1:4.2.4p4+dfsg-8lenny2 DSA-1801-1
Debian 4.0 ntp 1:4.2.2.p4+dfsg-2etch3 DSA-1801-1
ReleasePackageFixed inAdvisory
RHEL 5 ntp 4.2.2p1-9.el5_3.2 RHSA-2009:1039
RHEL 4 ntp 4.2.0.a.20040617-8.el4_7.2 RHSA-2009:1040
RHEL 3 ntp 4.1.2-6.el3 RHSA-2009:1651
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 4.7 EUS ntp 4.2.0.a.20040617-8.el4_7.2 RHSA-2009:1040
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ntp 4.2.8p9-1.1 openSUSE-SU-2024:10181-1

Advisories 5

References