Multiple integer overflows, leading to stack-based buffer overflows were found in various stdlib functions of GNU libc (strtod, strtof, strtold, strtod_l and related routines). If an application, using the affected stdlib functions, did not perform user-level sanitization of provided inputs, a local attacker could use this flaw to cause such an application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. Upstream bug report: [1] http://sourceware.org/bugzilla/show_bug.cgi?id=14459 Upstream patch (might not be the final one): [2] http://sourceware.org/ml/libc-alpha/2012-08/msg00202.html
This issue affects the versions of the glibc package, as shipped with Red Hat Enterprise Linux 5 and 6. -- This issue affects the versions of the glibc package, as shipped with Fedora release of 16 and 17. Please schedule an update.
CVE request: [3] http://www.openwall.com/lists/oss-security/2012/08/13/4
Created glibc tracking bugs for this issue Affects: fedora-all [bug 847718]
Sample reproducer from upstream bug [1]: #include <stdio.h> #include <stdlib.h> #include <string.h> #define EXPONENT "e-2147483649" #define SIZE 214748364 int main (void) { char *p = malloc (1 + SIZE + sizeof (EXPONENT)); if (p == NULL) { perror ("malloc"); exit (EXIT_FAILURE); } p[0] = '1'; memset (p + 1, '0', SIZE); memcpy (p + 1 + SIZE, EXPONENT, sizeof (EXPONENT)); double d = strtod (p, NULL); printf ("%a\n", d); exit (EXIT_SUCCESS); }
glibc-2.15-56.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
This issue has been addressed in following products: Red Hat Enterprise Linux 6 Via RHSA-2012:1208 https://rhn.redhat.com/errata/RHSA-2012-1208.html
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2012:1207 https://rhn.redhat.com/errata/RHSA-2012-1207.html
glibc-2.14.90-24.fc16.9 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
This issue has been addressed in following products: RHEV-H, V2V and Agents for RHEL-5 Via RHSA-2012:1262 https://rhn.redhat.com/errata/RHSA-2012-1262.html
glibc-2.16-8.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
This issue has been addressed in following products: RHEV-H and Agents for RHEL-6 Via RHSA-2012:1325 https://rhn.redhat.com/errata/RHSA-2012-1325.html