Name | CVE-2008-1391 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
References | DSA-2058-1 |
NVD severity | high (attack range: remote) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
eglibc (PTS) | wheezy | 2.13-38+deb7u10 | fixed |
wheezy (security) | 2.13-38+deb7u12 | fixed | |
glibc (PTS) | jessie (security), jessie | 2.19-18+deb8u10 | fixed |
stretch | 2.24-11+deb9u3 | fixed | |
stretch (security) | 2.24-11+deb9u1 | fixed | |
buster, sid | 2.27-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
eglibc | source | (unstable) | 2.11-1 | low | ||
glibc | source | (unstable) | 2.11-1 | low | ||
glibc | source | lenny | 2.7-18lenny4 | high | DSA-2058-1 | |
kfreebsd-6 | source | (unstable) | (not affected) | |||
kfreebsd-7 | source | (unstable) | (not affected) |
- kfreebsd-6 <not-affected> (see bug #483152)
- kfreebsd-7 <not-affected> (see bug #483152)
[lenny] - glibc <no-dsa> (minor issue)
not sure if it is a security bug, an attacker should not be able to change the format string
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=199eb0de8d
http://sourceware.org/bugzilla/show_bug.cgi?id=10600
PoC php -r 'money_format("%.1073741821i",1);' I can reproduce on 32bit, not 64bit