From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25002 invoked by alias); 30 Jun 2014 17:24:05 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 24838 invoked by uid 48); 30 Jun 2014 17:23:54 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/11884] Unbounded alloca() in node parameter of getaddrinfo() Date: Mon, 30 Jun 2014 17:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.9 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg02197.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=11884 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security+ --- Comment #10 from Florian Weimer --- (In reply to Kees Cook from comment #5) > Looks like this issue may be getting mitigated in other ways already: > > $ ./getaddrinfo 100 > getaddrinfo: Connection timed out > $ ./getaddrinfo 1000 > getaddrinfo: Invalid argument You would have to use a much larger argument, probably something around this: $ ./getaddrinfo 16000000 I haven't got an unpatched glibc 2.7 around to test. This may have been fixed by 34a9094f49241ebb72084c536cf468fd51ebe3ec, which went into glibc 2.14. It has been backported by some downstream distributions, e.g. . -- You are receiving this mail because: You are on the CC list for the bug.