CVE-2007-5365
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 80.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: 80.3% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 80.3% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Debian Linux 3.1
- Debian Linux 4.0
- Openbsd 4.0
- Openbsd 4.1
- Openbsd 4.2
- Redhat Enterprise Linux 2.1
- Redhat Linux Advanced Workstation 2.1
- Sun Opensolaris snv_01
Attack profile CVSS 2.0 · 7.2
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
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-2007-5365.md and follow it. Check whether this project is affected by CVE-2007-5365. 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/27160
- http://secunia.com/advisories/27273
- http://secunia.com/advisories/27338
- http://secunia.com/advisories/27350
- http://secunia.com/advisories/32668
- http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/options.c
- http://www.openbsd.org/errata40.html#016_dhcpd
- http://www.openbsd.org/errata41.html#010_dhcpd
- http://www.openbsd.org/errata42.html#001_dhcpd
- http://www.securityfocus.com/bid/25984
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446354
- http://secunia.com/advisories/27160
- http://secunia.com/advisories/27273
- http://secunia.com/advisories/27338
- http://secunia.com/advisories/27350
- http://secunia.com/advisories/32668
- http://securitytracker.com/id?1021157
- http://sunsolve.sun.com/search/document.do?assetkey=1-21-109077-21-1
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-243806-1
- http://www.coresecurity.com/index.php5?module=ContentMod&action=item&id=1962
- http://www.debian.org/security/2007/dsa-1388
- http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/options.c
- http://www.openbsd.org/errata40.html#016_dhcpd
- http://www.openbsd.org/errata41.html#010_dhcpd
- http://www.openbsd.org/errata42.html#001_dhcpd
- http://www.redhat.com/support/errata/RHSA-2007-0970.html
- http://www.securityfocus.com/archive/1/482085/100/100/threaded
- http://www.securityfocus.com/archive/1/483230/100/100/threaded
- http://www.securityfocus.com/bid/25984
- http://www.securityfocus.com/bid/32213
- http://www.securitytracker.com/id?1018794
- http://www.ubuntu.com/usn/usn-531-1
- http://www.ubuntu.com/usn/usn-531-2
- http://www.vupen.com/english/advisories/2008/3088
- https://exchange.xforce.ibmcloud.com/vulnerabilities/37045