Gentoo Logo

Motor: Execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200608-27 / motor
Release Date August 29, 2006
Latest Revision August 29, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-util/motor < 3.4.0-r1 revision >= 3.3.0-r1, >= 3.4.0-r1 All supported architectures

Related bugreports: #135020


Motor uses a vulnerable ktools library, which could lead to the execution of arbitrary code.

2.  Impact Information


Motor is a text mode based programming environment for Linux, with a syntax highlighting feature, project manager, makefile generator, gcc and gdb front-end, and CVS integration.


In November 2005, Zone-H Research reported a boundary error in the ktools library in the VGETSTRING() macro of kkstrtext.h, which may cause a buffer overflow via an overly long input string.


A remote attacker could entice a user to use a malicious file or input, which could lead to the crash of Motor and possibly the execution of arbitrary code.

3.  Resolution Information


There is no known workaround at this time.


All Motor 3.3.x users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-util/motor-3.3.0-r1"

All motor 3.4.x users should upgrade to the latest version:

Code Listing 3.2: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-util/motor-3.4.0-r1"

4.  References


Page updated August 29, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.