OpenTTD: Execution of arbitrary code — GLSA 200903-09

Multiple buffer overflows in OpenTTD might allow for the execution of arbitrary code in the server.

Affected packages

games-simulation/openttd on all architectures
Affected versions < 0.6.3
Unaffected versions >= 0.6.3

Background

OpenTTD is a clone of Transport Tycoon Deluxe.

Description

Multiple buffer overflows have been reported in OpenTTD, when storing long for client names (CVE-2008-3547), in the TruncateString function in src/gfx.cpp (CVE-2008-3576) and in src/openttd.cpp when processing a large filename supplied to the "-g" parameter in the ttd_main function (CVE-2008-3577).

Impact

An authenticated attacker could exploit these vulnerabilities to execute arbitrary code with the privileges of the OpenTTD server.

Workaround

There is no known workaround at this time.

Resolution

All OpenTTD users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=games-simulation/openttd-0.6.3"

References

Release date
March 07, 2009

Latest revision
March 07, 2009: 01

Severity
high

Exploitable
remote

Bugzilla entries