J-Security Center

Title: ClanLib Environment Variable Overflow Vulnerability

Severity: MODERATE

Description:

ClanLib is a cross platform game development library. It includes many common low level functions related to graphics, sound and resource management. It has been released for several Linux distributions, as well as Microsoft Windows.

ClanLib suffers from an overflow condition. Under some circumstances, extremely long environment variables may cause software using the ClanLib libraries to crash. As the instruction pointer is corrupted, it may be possible to execute arbitrary code.

It has been reported that executing some games with a HOME environment variable 9000 characters long will result in the program crashing.

Under normal circumstances, vulnerable games would only be available to a local user. However, under many common configurations, games execute with suid 'games' or sgid 'games'. As a result, exploitation of this vulnerability may result in access to an additional non-privileged local account.

Other versions of ClanLib may share this vulnerability. Further technical details are not available at this time.

Affected Products:

  • ClanLib ClanLib 5.0.0
  • Conectiva Linux 6.0.0
  • Conectiva Linux 7.0.0
  • MandrakeSoft Linux Mandrake 8.1.0

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.