From owner-freebsd-security Thu Sep 7 14:47:35 2000 Delivered-To: freebsd-security@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 3AA8337B422; Thu, 7 Sep 2000 14:47:29 -0700 (PDT) Received: (from ache@localhost) by nagual.pp.ru (8.11.0/8.11.0) id e87Lknw19285; Fri, 8 Sep 2000 01:46:49 +0400 (MSD) (envelope-from ache) Date: Fri, 8 Sep 2000 01:46:47 +0400 From: "Andrey A. Chernov" To: "Todd C. Miller" Cc: Warner Losh , Kris Kennaway , "Vladimir Mencl, MK, susSED" , freebsd-security@FreeBSD.ORG, security-officer@FreeBSD.ORG Subject: Re: UNIX locale format string vulnerability (fwd) Message-ID: <20000908014646.A19231@nagual.pp.ru> References: <200009072126.e87LQuE12710@xerxes.courtesan.com> <200009072126.e87LQuE12710@xerxes.courtesan.com> <200009072132.PAA06187@harmony.village.org> <20000908013556.A19114@nagual.pp.ru> <200009072140.e87Le3715994@xerxes.courtesan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200009072140.e87Le3715994@xerxes.courtesan.com>; from Todd.Miller@courtesan.com on Thu, Sep 07, 2000 at 03:40:03PM -0600 Organization: Biomechanoid Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Sep 07, 2000 at 03:40:03PM -0600, Todd C. Miller wrote: > In message <20000908013556.A19114@nagual.pp.ru> > so spake "Andrey A. Chernov" (ache): > > > 'sudo' port *must* strip NLSPATH and PATH_LOCALE variables. No other > > actions required. > > That seems pretty reasonable. I'll strip those out of the environment > in sudo 1.6.4. Speaking outside of locale/nls area, 'sudo' *must* internally setenv TERMCAP /usr/share/misc/termcap too, for the same reasons. Grep 'issetugid' through libraries is your friend. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message