Orange Business Services
Vigil@nce Vigil@nce Vigil@nce
we track for your security since 1999
 home presentation vulnerabilities documentation contact  
subscriber area subscriber area
free access free access
The Vigil@nce team watches vulnerabilities impacting your computers, and then offers solutions, a database and tools to correct them.
recent vulnerabilities recent vulnerabilities
tracked products tracked products
RSS feed RSS feed
vulnerability

vulnerability bulletin CVE-2009-0689

BSD: memory corruption via printf

Synthesis of the vulnerability

When the attacker can choose a real value, and its display format by a function of the printf() family, he can generate an overflow leading to a denial of service or to code execution.
Severity: 2/4.
Creation date: 29/06/2009.

Impacted products

Description of the vulnerability

Recent versions of FreeBSD, NetBSD and OpenBSD use the gdtoa (double to ascii) library to convert real values to character strings. Functions of the printf() family use gdtoa.

The number of digits of a real number can be indicated in the format parameter. For example, "%2.3f" displays 2 digits before the dot, and 3 after.

When the number of digits after the dot is over 2^18, the size allocated by gdtoa is too short. The memory is then corrupted.

When the attacker can choose a real value, and its display format by a function of the printf() family, he can therefore generate an overflow leading to a denial of service or to code execution.

Share this bulletin

Delicious Digg Facebook Google bookmarks LinkedIn Mail Reddit StumbleUpon Technorati Twitter Yahoo 

Complete Vigil@nce bulletin

BSD: memory corruption via printf

Characteristics

Title: BSD: memory corruption via printf.
Keywords: FreeBSD NetBSD OpenBSD corruption memory printf.
Identifiers: BID-35510, CERTA-2010-AVI-080, CVE-2009-0689, DSA 1998-1, MDVSA-2009:330, MDVSA-2010:027, MDVSA-2010:028, SUSE-SR:2009:020, VIGILANCE-VUL-8828.

Information sources

Publications and announces

Solutions for this vulnerability

Patch or workaround

Supplements

Proof of concept

Exploit 0day or proof of concept

Computer vulnerabilities tracking service

Vigil@nce provides a computers vulnerabilities announce. Each administrator can customize the list of products for which he wants to receive vulnerability alerts. The Vigil@nce team tracks computer vulnerabilities impacting systems and applications. The Vigil@nce vulnerability database contains several thousand vulnerabilities.



















Copyright 1999-2012 Vigil@nce. Vigil@nce is a service from Orange Business Services. Site map. Legal notice. Version française