Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall uname output: Linux renegade 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnu
Bash Version: 4.3 Patch Level: 27 Release Status: release Description: This is a bug affecting the latest of the shellshock patches at the time of writing, 4.3.27. If bash is configured and built on a system with no libtermcap, it attempts to build statically linking its own one. In this case, the resulting bash that is built does not correctly wrap long input lines. Repeat-By: ./configure while no libtermcap is available, or make the following changes to the configured makefile: < LDFLAGS = $(STATIC_LD) $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS) --- > LDFLAGS = -L./lib/termcap $(STATIC_LD) $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS) 311c311 < TERMCAP_LIB = -ltermcap --- > TERMCAP_LIB = ./lib/termcap/libtermcap.a 314c314 < TERMCAP_DEP = --- > TERMCAP_DEP = ./lib/termcap/libtermcap.a Fix: Immediate workaround is to install libtermcap. The bug appears to have been introduced between patches 4.3.25 and 4.3.27.