Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2000 15:14:33 -0700
From:      Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        Trevor Johnson <trevor@jpj.net>
Cc:        Mike Silbersack <silby@silby.com>, freebsd-security@FreeBSD.ORG
Subject:   Re: ncurses buffer overflows (fwd) 
Message-ID:  <200010112215.e9BMF5F72845@cwsys.cwsent.com>
In-Reply-To: Your message of "Tue, 10 Oct 2000 21:55:15 EDT." <Pine.BSI.4.21.0010102142590.8787-100000@blues.jpj.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSI.4.21.0010102142590.8787-100000@blues.jpj.net>, 
Trevor John
son writes:
> > Well, the advisory states that ncurses 5.0 and before are vulnerable.  It
> > looks like 5.1-prerelease is what 4.1+ are using.  So, until we here more
> > from warner/kris, I'm assuming that 4.0/3.x are vulnerable, but 4.1+ is
> > safe.
> 
> The fixes were applied in ncurses-20001007.  We have ncurses-20000701.
> 
> I'm attempting to prepare ncurses-20001009 for importing:  
> http://people.freebsd.org/~trevor/ncurses/ .  I've mentioned it to Peter
> Wemm.  It needs more testing though (I haven't even done a "make world").

So far so good on 4.1.1, nothing appears to be broken, yet, and the 
exploit fails to work, a good thing.  To "make world" the following 
patch needs to be applied to /usr/src/lib/libncurses/Makefile:

--- Makefile.orig	Thu Aug 17 00:30:34 2000
+++ Makefile	Wed Oct 11 12:59:38 2000
@@ -164,6 +164,7 @@
 	lib_slktouch.c \
 	lib_termcap.c \
 	lib_termname.c \
+	lib_tgoto.c \
 	lib_ti.c \
 	lib_touch.c \
 	lib_tparm.c \
@@ -192,6 +193,7 @@
 	resizeterm.c \
 	safe_sprintf.c \
 	setbuf.c \
+	strings.c \
 	sigaction.c \
 	trace_buf.c \
 	trace_tries.c \
@@ -245,9 +247,6 @@
 SYMLINKS+=libncurses_p.a ${LIBDIR}/libtinfo_p.a
 .endif
 
-DOCSDIR= /usr/share/doc/ncurses
-DOCS=	ncurses-intro.html hackguide.html
-
 beforeinstall:	${HEADERS}
 	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${HEADERS} \
 	    ${DESTDIR}/usr/include
@@ -380,7 +379,7 @@
 	curs_refresh.3x curs_scanw.3x curs_scr_dump.3x curs_scroll.3x \
 	curs_slk.3x curs_termattrs.3x curs_termcap.3x curs_terminfo.3x \
 	curs_touch.3x curs_util.3x curs_window.3x define_key.3x \
-	dft_fgbg.3x keybound.3x keyok.3x ncurses.3x resizeterm.3x wresize.3x
+	keybound.3x keyok.3x ncurses.3x resizeterm.3x wresize.3x
 MAN5=	term.5 terminfo.5
 MAN7=	term.7
 



Regards,                       Phone:  (250)387-8437
Cy Schubert                      Fax:  (250)387-5766
Team Leader, Sun/DEC Team   Internet:  Cy.Schubert@osg.gov.bc.ca
Open Systems Group, ITSD, ISTA
Province of BC





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010112215.e9BMF5F72845>