CVE-2009-1252
What it is
Stack-based buffer overflow in the crypto_recv function in ntp_crypto.c in ntpd in NTP before 4.2.4p7 and 4.2.5 before 4.2.5p74, when OpenSSL and autokey are enabled, allows remote attackers to execute arbitrary code via a crafted packet containing an extension field.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 21.3% 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: 21.3% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 21.3% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Ntp 4.2.4p0
- Ntp 4.2.4p1
- Ntp 4.2.4p2
- Ntp 4.2.4p3
- Ntp 4.2.4p4
- Ntp 4.2.4p5
- Ntp 4.2.4p6
- Ntp 4.2.5p0
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-1252.md and follow it. Check whether this project is affected by CVE-2009-1252. 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://rhn.redhat.com/errata/RHSA-2009-1039.html
- http://rhn.redhat.com/errata/RHSA-2009-1040.html
- https://bugzilla.redhat.com/show_bug.cgi?id=499694
- http://rhn.redhat.com/errata/RHSA-2009-1039.html
- http://rhn.redhat.com/errata/RHSA-2009-1040.html
- https://bugzilla.redhat.com/show_bug.cgi?id=499694
References
- ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2009-006.txt.asc
- http://lists.opensuse.org/opensuse-security-announce/2009-06/msg00003.html
- http://rhn.redhat.com/errata/RHSA-2009-1039.html
- http://rhn.redhat.com/errata/RHSA-2009-1040.html
- http://secunia.com/advisories/35137
- http://secunia.com/advisories/35138
- http://secunia.com/advisories/35166
- http://secunia.com/advisories/35169
- http://secunia.com/advisories/35243
- http://secunia.com/advisories/35253
- http://secunia.com/advisories/35308
- http://secunia.com/advisories/35336
- http://secunia.com/advisories/35388
- http://secunia.com/advisories/35416
- http://secunia.com/advisories/35630
- http://secunia.com/advisories/37470
- http://secunia.com/advisories/37471
- http://security.freebsd.org/advisories/FreeBSD-SA-09:11.ntpd.asc
- http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.566238
- http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0092
- http://www.debian.org/security/2009/dsa-1801
- http://www.gentoo.org/security/en/glsa/glsa-200905-08.xml
- http://www.kb.cert.org/vuls/id/853097
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:117
- http://www.securityfocus.com/archive/1/507985/100/0/threaded