CVE-2012-3405

high

Description

The vfprintf function in stdio-common/vfprintf.c in libc in GNU C Library (aka glibc) 2.14 and other versions does not properly calculate a buffer length, which allows context-dependent attackers to bypass the FORTIFY_SOURCE format-string protection mechanism and cause a denial of service (segmentation fault and crash) via a format string with a large number of format specifiers that triggers "desynchronization within the buffer size handling," a different vulnerability than CVE-2012-3404.

References

https://sourceware.org/bugzilla/show_bug.cgi?id=13446

https://security.gentoo.org/glsa/201503-04

https://bugzilla.redhat.com/show_bug.cgi?id=833704

http://www.ubuntu.com/usn/USN-1589-1

http://www.openwall.com/lists/oss-security/2012/07/11/17

http://rhn.redhat.com/errata/RHSA-2012-1200.html

http://rhn.redhat.com/errata/RHSA-2012-1098.html

Details

Source: Mitre, NVD

Published: 2014-02-10

Updated: 2019-04-22

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High