pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/28840: security update for ytalk package



>Number:         28840
>Category:       pkg
>Synopsis:       update to ytalk 3.2.0 for security fix
>Confidential:   yes
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 02 17:45:00 +0000 2005
>Originator:     Michael Santos
>Release:        NetBSD 2.99.11
>Organization:
        
>Environment:
        
        
System: NetBSD ack 2.99.11 NetBSD 2.99.11 (ack) #90: Thu Dec 30 16:05:34 EST 
2004 root@ack:/home/build/src/sys/arch/i386/compile/obj/ack i386
Architecture: i386
Machine: i386
>Description:

ytalk maintainer informed me there is a buffer overflow in an
sprintf() that is remotely exploitable in versions previous to
3.2.0.

from 3.1.6 to 3.2.0
        . added far-right "stomping", fixes procps top(1) among other things
        . separated handling of CR and LF, makes a lot of programs work better
        . added support for 'G' escape sequence used by Gentoo's init scripts
        . added "escape-yesno" patch from FreeBSD that optionally requires
          you to press <escape> before answering yes/no questions
        . added a "YTALK_VERSION" environment variable to subshells
        . fixed an endless loop in curses titlebar code
        . we now use snprintf() instead of sprintf() if available
        . restored limit on auto-invite hostnames from 16 to 64 characters
        . --with-x is now --enable-x

from 3.1.5 to 3.1.6
        . fixed a crash when resizing YTalk in an XTerm
        . fixed a remote-crash format string bug in auto-invite daemon
        . fixed build problems on SunOS
        . fixed --with-x on X.org (broken since 3.1.2)
        . don't even build pty allocation code if system has openpty()
        . made all debugging code strictly optional, add --enable-debug
          to ./configure if you want it

from 3.1.4 to 3.1.5
        . added the prompt-quit patch from Debian again (oops, lost in 3.1.3)
        . we now use openpty() if available to securely allocate ptys
        . fixed a problem with the configure script on Slackware
        . added a missing part of VT100 scrolling support
        . fixed a small memory leak in terminal tab handling
        . some documentation fixes and updates

from 3.1.3 to 3.1.4
        . added "rering all" to main menu (requested by Matthew Vernon in '99)
        . fixed detection of `socklen_t' type on OpenBSD
        . added --with-curses=DIR option to configure script
        . cleaned up the configure script a bit
        . fixed a minor problem with the no-beep mode
        . fixed a minor signed/unsigned issue

from 3.1.2 to 3.1.3
        . maintainer change to Andreas Kling <keso%impul.se@localhost>
        . added support for job control on BSD systems
        . fixed the shell on Tru64 UNIX
        . added terminal tab handling
        . added terminal keypad capabilities
        . added "ignorebreak" mode where ^C is ignored unless running a shell
        . added "beeps" to the .ytalkrc flag collection (applies to all beeps)
        . added internal memory management and tracking
        . restored compatibility with old talk daemons (broken in 3.1.2)
        . restored command line parsing (broken on many systems in 3.1.2)
        . removed debug code that broke terminal raw mode in 3.1.2
        . drop getlogin() for getpwuid()
        . removed logging(?) code

from 3.1.1 to 3.1.2
        . maintainer change to Jessica Peterson <angel%metawire.org@localhost>
        . fixed a possible buffer overflow regarding a oversized $HOME
          when loading the configuration file
        . debug logger added
        . X support isn't compiled as default anymore
        . -x command line switch now enables X11 mode instead of disabling it.
        . scrolling is enabled by default
        . applied Debian patches:
          - Now optionally prompts user before quitting (when using -q),
            patch from Colin Watson <cjw44%flatline.org.uk@localhost>
          - Reset handling of SIGCHLD for shells - patch from P. Maragakis
           <Maragakis%mpq.mpg.de@localhost> following hints by Jason Gunthorpe
        . fixed maximum username length to 11 instead of 8
        . upgraded to autoconf 2.59
        . added parsing of long options



>How-To-Repeat:
        
>Fix:

1. Remove patches/patch-ab

2. Apply patch:

begin 644 patch-ytalk
M26YD97@Z($UA:V5F:6QE"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*4D-3(&9I
M;&4Z("]C=G-R;V]T+W!K9W-R8R]N970O>71A;&LO36%K969I;&4L=@IR971R
M:65V:6YG(')E=FES:6]N(#$N,3$*9&EF9B`M53(@+7(Q+C$Q($UA:V5F:6QE
M"BTM+2!-86ME9FEL90DV($UA<B`R,#`T(#$R.C`Q.C,R("TP,#`P"3$N,3$*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N:71S8W(L"BLM"5M,24)3/2(D3$E"4R`M;&YC=7)S
M97,B"BLM"6EF('1E<W0@>"1Y=&%L:U]C=E]C=7)S97,@/2!X+W5S<B`M82`M
M9"`O=7-R+VEN8VQU9&4O;F-U<G-E<SL@=&AE;@HK+0D)0U!01DQ!1U,](B1#
M4%!&3$%'4R`M22]U<W(O:6YC;'5D92]N8W5R<V5S(@HK+0EF:0HK+0E!0U]#
M2$5#2U](14%$15)3*&YC=7)S97,N:"E=+`HK*T%#7T-(14-+7TQ)0BAC=7)S
M97,L(&EN:71S8W(L"BLK"5M,24)3/2(D3$E"4R`M;&-U<G-E<R(**RL)04-?
M0TA%0TM?2$5!1$524RAC=7)S97,N:"E=+`HK(`E;0T9?0U524T537TQ)0E-=
M*0H@(`HK(&1N;"!#:&5C:R!F;W(@:V5Y<&%D*"D**RU!0U]#2$5#2U],24(H
M;F-U<G-E<RP@:V5Y<&%D+`HK*T%#7T-(14-+7TQ)0BAC=7)S97,L(&ME>7!A
M9"P**R`)6T%#7T1%1DE.12A(059%7TM%65!!1"P@,2P@6T1E9FEN92!T;R`Q
M(&EF('EO=2!H879E(&ME>7!A9"@I72E=+`HK+5M!0U]#2$5#2U],24(H8W5R
M<V5S+"!K97EP860L"BLK6T%#7T-(14-+7TQ)0BAN8W5R<V5S+"!K97EP860L
M"BL@"5M!0U]$149)3D4H2$%615]+15E0040L(#$L(%M$969I;F4@=&\@,2!I
@9B!Y;W4@:&%V92!K97EP860H*5TI72P**R!;72E=*0I$
`
end

3. Update pkg-vulnerabilities

--- pkg-vulnerabilities 2005-01-01 22:26:39.000000000 -0500
+++ /tmp/pkg-vulnerabilities    2005-01-02 12:31:01.000000000 -0500
@@ -851,3 +851,4 @@
 mozilla-gtk2<1.7.5     remote-code-execution   
http://isec.pl/vulnerabilities/isec-0020-mozilla.txt
 cups<1.1.23rc1         remote-code-execution   
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1125
+ytalk<3.2.0            remote-code-execution   unpublished
 #CHECKSUM SHA1 54ac648f1a581049708d0cc79205af08e638b681

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index