CVE Vulnerabilities

CVE-2007-3917

Use of Externally-Controlled Format String

Published: Oct 11, 2007 | Modified: Jul 29, 2017
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
7.8 HIGH
AV:N/AC:L/Au:N/C:N/I:N/A:C
RedHat/V2
RedHat/V3
Ubuntu
LOW

The multiplayer engine in Wesnoth 1.2.x before 1.2.7 and 1.3.x before 1.3.9 allows remote servers to cause a denial of service (crash) via a long message with multibyte characters that can produce an invalid UTF-8 string after it is truncated, which triggers an uncaught exception, involving the truncate_message function in server/server.cpp. NOTE: this issue affects both clients and servers.

Weakness

The product uses a function that accepts a format string as an argument, but the format string originates from an external source.

Affected Software

Name Vendor Start Version End Version
Wesnoth Wesnoth 1.2 (including) 1.2 (including)
Wesnoth Wesnoth 1.2.1 (including) 1.2.1 (including)
Wesnoth Wesnoth 1.2.2 (including) 1.2.2 (including)
Wesnoth Wesnoth 1.2.3 (including) 1.2.3 (including)
Wesnoth Wesnoth 1.2.4 (including) 1.2.4 (including)
Wesnoth Wesnoth 1.2.5 (including) 1.2.5 (including)
Wesnoth Wesnoth 1.2.6 (including) 1.2.6 (including)
Wesnoth Wesnoth 1.3.1 (including) 1.3.1 (including)
Wesnoth Wesnoth 1.3.2 (including) 1.3.2 (including)
Wesnoth Wesnoth 1.3.3 (including) 1.3.3 (including)
Wesnoth Wesnoth 1.3.4 (including) 1.3.4 (including)
Wesnoth Wesnoth 1.3.5 (including) 1.3.5 (including)
Wesnoth Wesnoth 1.3.6 (including) 1.3.6 (including)
Wesnoth Wesnoth 1.3.7 (including) 1.3.7 (including)
Wesnoth Wesnoth 1.3.8 (including) 1.3.8 (including)
Wesnoth Ubuntu dapper *
Wesnoth Ubuntu edgy *
Wesnoth Ubuntu feisty *
Wesnoth Ubuntu gutsy *
Wesnoth Ubuntu upstream *

Extended Description

When an attacker can modify an externally-controlled format string, this can lead to buffer overflows, denial of service, or data representation problems. It should be noted that in some circumstances, such as internationalization, the set of format strings is externally controlled by design. If the source of these format strings is trusted (e.g. only contained in library files that are only modifiable by the system administrator), then the external control might not itself pose a vulnerability.

Potential Mitigations

References