From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7290 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?0KDRi9GB0Yw=?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: Security advisory for musl libc - stack-based buffer overflow in ipv6 literal parsing [CVE-2015-1817] Date: Mon, 30 Mar 2015 11:33:37 +0700 Message-ID: <20150330113337.430f2b0c@r2lynx> References: <20150330040125.GA9622@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1427690101 14802 80.91.229.3 (30 Mar 2015 04:35:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Mar 2015 04:35:01 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7303-gllmg-musl=m.gmane.org@lists.openwall.com Mon Mar 30 06:34:54 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YcRPX-00060O-Uz for gllmg-musl@m.gmane.org; Mon, 30 Mar 2015 06:34:52 +0200 Original-Received: (qmail 14286 invoked by uid 550); 30 Mar 2015 04:34:50 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 14268 invoked from network); 30 Mar 2015 04:34:50 -0000 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RECEIVED, NO_RELAYS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 In-Reply-To: <20150330040125.GA9622@brightrain.aerifal.cx> X-Mailer: claws_mail Xref: news.gmane.org gmane.linux.lib.musl.general:7290 Archived-At: On Mon, 30 Mar 2015 00:01:25 -0400 Rich Felker wrote: > A stack-based buffer overflow has been found in musl libc's ipv6 > address literal parsing code. Programs which call the inet_pton or > getaddrinfo function with AF_INET6 or AF_UNSPEC and untrusted address > strings are affected. Successful exploitation yields control of the > return address. Having enabled stack protector at the application > level does not mitigate the issue. All users should patch or upgrade. > > Software: musl libc (http://www.musl-libc.org) > > Severity: high > > Affected Versions: 0.9.15 - 1.0.4, 1.1.0 - 1.1.7. > > Bug introduced in commit: 78f889153167452de4cbced921f6428b3d4f663a > > Bug fixed in commit: fc13acc3dcb5b1f215c007f583a63551f6a71363 > > Patch: musl_dn_expand_overflow_fix.diff (attached) (fix+hardening) How much it affects readonly embedded systems as well? Does almost latest dropbear listening ssh port publicly is actually vulnerable?