Vigil@nce - glibc: buffer overflow of swscanf
February 2015 by Vigil@nce
This bulletin was written by Vigil@nce : http://vigilance.fr/offer
SYNTHESIS OF THE VULNERABILITY
An attacker can generate a buffer overflow in swscanf() of the
glibc, in order to trigger a denial of service, and possibly to
execute code.
Impacted products: Unix (platform)
Severity: 2/4
Creation date: 04/02/2015
DESCRIPTION OF THE VULNERABILITY
The swscanf() function of the glibc searches for a pattern in a
wide-character string.
However, this function allocates a number of characters, instead
of a number of bytes. If the size of data is greater than the size
of the storage array, an overflow occurs.
An attacker can therefore generate a buffer overflow in swscanf()
of the glibc, in order to trigger a denial of service, and
possibly to execute code.
ACCESS TO THE COMPLETE VIGIL@NCE BULLETIN
http://vigilance.fr/vulnerability/glibc-buffer-overflow-of-swscanf-16105