PT-2012-1186 · Gnu+3 · Gnu C Library+3
Jan Lieskovsky
·
Published
2012-08-25
·
Updated
2023-02-13
·
CVE-2012-3480
CVSS v2.0
4.6
Medium
| Vector | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
GNU C Library (aka glibc or libc6) version 2.16
Description
The issue is caused by multiple integer overflows in various functions, including
strtod, strtof, strtold, and strtod l, within the stdlib component of the GNU C Library. This can lead to a denial of service, resulting in an application crash, and potentially allow the execution of arbitrary code. The exploitation occurs when a long string is used, triggering a stack-based buffer overflow.Recommendations
For GNU C Library (aka glibc or libc6) version 2.16, consider updating to a newer version that addresses the integer overflows in the affected functions. As a temporary workaround, restrict the use of the
strtod, strtof, strtold, and strtod l functions to minimize the risk of exploitation. Avoid using long strings that could trigger the stack-based buffer overflow in these functions.Exploit
Fix
DoS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Centos
Gnu C Library
Red Hat
Suse