Re: sudo through ssh broken on -current?

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Mon, 12 Mar 2012 15:12:22 +0100
On 2012-03-12 00:55, Michael Butler wrote:
> I noted some thing odd when executing the following ..
> 
> /home/imb> ssh imb_at_xxxx "sudo /sbin/ipfw list"
> 
> sudo: (malloc) /usr/src/lib/libc/stdlib/malloc.c:2644: Failed assertion:
> "(run->regs_mask[elm] & (1U << bit)) == 0"
> Abort
> 
> Adding '-t' as a parameter to ssh runs without the assert,

This is a double free bug in sudo:

  http://www.sudo.ws/bugs/show_bug.cgi?id=544

Alternative fix:

  http://www.andric.com/freebsd/security-sudo-fix-double-free-1.diff
Received on Mon Mar 12 2012 - 13:12:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC