Buffer overflow in OpenBSD
CVE-2007-5365
Stack-based buffer overflow in the cons_options function in options.c in dhcpd in OpenBSD 4.0 through 4.2, and some other dhcpd implementations based on ISC dhcp-2, allows remote attackers to execute arbitrary code or cause a denial of service (daemon crash) via a DHCP request specifying a maximum message size smaller than the minimum IP MTU.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.2 (High). Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.803 (99.6th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.803 · newest: 0.803 · change: 0.000
Affected products
- OpenBSD — versions 4.0, 4.1, 4.2
- Sun Opensolaris — versions snv_01, snv_02, snv_03
- Sun Solaris — versions 8.0, 9.0, 10.0
- Debian Linux — versions 3.1, 4.0
- Red Hat Enterprise Linux — versions 2.1
- Red Hat Linux Advanced Workstation — versions 2.1
- Ubuntu Linux — versions 6.06, 6.10, 7.04
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secunia.com/advisories/27338 (Vendor Advisory, third-party-advisory)
- secunia.com/advisories/27350 (Vendor Advisory, third-party-advisory)
- www.vupen.com/english/advisories/2008/3088 (vdb-entry, Vendor Advisory)
- www.exploit-db.com/exploits/4601 (exploit)
- www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/options.c (Patch)
- bugs.debian.org/cgi-bin/bugreport.cgi
- www.openbsd.org/errata42.html (vendor-advisory, Patch)
- www.securityfocus.com/bid/25984 (Patch, vdb-entry)
- www.securityfocus.com/archive/1/483230/100/100/threaded (mailing-list)
- exchange.xforce.ibmcloud.com/vulnerabilities/37045 (vdb-entry)
Frequently asked questions
- What is CVE-2007-5365?
- CVE-2007-5365 is a vulnerability in OpenBSD, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. Published 2007-10-11.
- Is CVE-2007-5365 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.