CVE-2008-1391
What it is
Multiple integer overflows in libc in NetBSD 4.x, FreeBSD 6.x and 7.x, and probably other BSD and Apple Mac OS platforms allow context-dependent attackers to execute arbitrary code via large values of certain integer fields in the format argument to (1) the strfmon function in lib/libc/stdlib/strfmon.c, related to the GET_NUMBER macro; and (2) the printf function, related to left_prec and right_prec.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 18.8% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
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: 18.8% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 18.8% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- Freebsd 6.0
- Freebsd 6.0_p5_release
- Freebsd 7.0
- Freebsd 7.0_beta4
- Freebsd 7.0_releng
- Netbsd 4.0
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/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-2008-1391.md and follow it. Check whether this project is affected by CVE-2008-1391. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/strfmon.c
- http://lists.apple.com/archives/security-announce//2008//Dec/msg00000.html
- http://secunia.com/advisories/29574
- http://secunia.com/advisories/33179
- http://securityreason.com/achievement_securityalert/53
- http://securityreason.com/securityalert/3770
- http://support.apple.com/kb/HT3338
- http://www.debian.org/security/2010/dsa-2058
- http://www.securityfocus.com/archive/1/490158/100/0/threaded
- http://www.securityfocus.com/bid/28479
- http://www.securitytracker.com/id?1019722
- http://www.us-cert.gov/cas/techalerts/TA08-350A.html
- http://www.vupen.com/english/advisories/2008/3444
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41504
- https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html
- http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/strfmon.c
- http://lists.apple.com/archives/security-announce//2008//Dec/msg00000.html
- http://secunia.com/advisories/29574
- http://secunia.com/advisories/33179
- http://securityreason.com/achievement_securityalert/53
- http://securityreason.com/securityalert/3770
- http://support.apple.com/kb/HT3338
- http://www.debian.org/security/2010/dsa-2058
- http://www.securityfocus.com/archive/1/490158/100/0/threaded
- http://www.securityfocus.com/bid/28479