Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.utils.bug > #2232
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!171.64.64.130.MISMATCH!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Salvatore Bonaccorso <carnil@debian.org> |
| Newsgroups | gnu.utils.bug |
| Subject | Re: Vulnerability Report on Sharutils 4.15.2 |
| Date | Sun, 25 Mar 2018 19:51:47 +0200 |
| Lines | 51 |
| Sender | Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com> |
| Approved | bug-gnu-utils@gnu.org |
| Message-ID | <mailman.11228.1522010166.27995.bug-gnu-utils@gnu.org> (permalink) |
| References | <47a93dc0-b0f9-9dc7-593e-ce7f96f56e19@gmail.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | usenet.stanford.edu 1522010166 12346 208.118.235.17 (25 Mar 2018 20:36:06 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | nafiez <nafiez.skins@gmail.com> |
| To | bug-gnu-utils@gnu.org |
| Envelope-to | bug-gnu-utils@gnu.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=zXvU8koYeyMzqihBvFHKIaTE1mmhW3/3SZCme69gS+4=; b=RniTuiRNh4qxmHoHlJpXUjOYj/8pbLfRB3i7iaYSx0vckfPX6DMxaRJFxScrunnrkz 9LKTguK9X3I3Vb7V7tlKNSiEKmdFY1YeiR87KQd9aBsUXLXc2Lg9rc/db6yczWFPCPZZ RavMbhU9kL9C7Un7paTdfrkQDkfqesZntTyRzJrbGTkwoYjJjaMD6wPkXIJzjlCdvwYL J9Wyr/JWwR67hzL+NTjz93wfVk7Aoj0bGmaimawgZpE+SuFslKRI90Uxc9qtKArGanG3 vGt0V2oCiJA9RwoRhi5kItfyqJ04WopKw8sXr3X2aTyr6WGjnI+lzqHeFJ5oio3zR7Bw VHSA== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=zXvU8koYeyMzqihBvFHKIaTE1mmhW3/3SZCme69gS+4=; b=GZzfMrr/cQeOmgQLTFO1PGmDlLVVSyJl5indAoacRCTB4ZbTOiaz8TxQHSfgOuNs2S bIPRt9n2UsRcDCiAF62iK93IphPVb1qhzGjrJG9zJy+G4KIr0j60iOVhC1rtxGRY/Xzp xnkauySTOJIoquEO4rg0w/b5Wyg4wE5AGyMEP7+aBe/WprQwdtCYWNwKzsWtjKDCCQhz efKz7ZayYpl/MJJEuz03aJDra7fFTdyRCsUFGdiR01nYnCEgve/W0ykpoMdfho8wyi3P 8fGkhz408DZ9gKhdA1owPm0ws3BdgIUlcQKEm/uinq5UcJlOz9xAQSxO8xGG4l2j6ByA v6OA== |
| X-Gm-Message-State | AElRT7F/O+dFQFTKsrDns5PafXQ9Okg8O9YirLXVX+HzPnsH7e3jv5DT 36Kd3haGJXv4rZmm2Zixm8w= |
| X-Google-Smtp-Source | AG47ELvViDGwz1Wp3Tjo5NAh/3fvn3zF7vkzgYZ4UoliF6cSkm3oOr7KsQanBh7QggyjmvqKtAx+pw== |
| X-Received | by 10.223.142.164 with SMTP id q33mr27864792wrb.72.1522000309066; Sun, 25 Mar 2018 10:51:49 -0700 (PDT) |
| Content-Disposition | inline |
| In-Reply-To | <47a93dc0-b0f9-9dc7-593e-ce7f96f56e19@gmail.com> |
| User-Agent | Mutt/1.9.4 (2018-02-28) |
| X-detected-operating-system | by eggs.gnu.org: Genre and OS details not recognized. |
| X-Received-From | 2a00:1450:400c:c0c::234 |
| X-Mailman-Approved-At | Sun, 25 Mar 2018 16:36:05 -0400 |
| X-BeenThere | bug-gnu-utils@gnu.org |
| X-Mailman-Version | 2.1.21 |
| Precedence | list |
| List-Id | Bug reports for the GNU utilities <bug-gnu-utils.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-gnu-utils>, <mailto:bug-gnu-utils-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-gnu-utils/> |
| List-Post | <mailto:bug-gnu-utils@gnu.org> |
| List-Help | <mailto:bug-gnu-utils-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-gnu-utils>, <mailto:bug-gnu-utils-request@gnu.org?subject=subscribe> |
| Xref | csiph.com gnu.utils.bug:2232 |
Show key headers only | View raw
Hi On Wed, Feb 21, 2018 at 03:06:34PM +0800, nafiez wrote: > Hi, > > Below are the details of the issue we found during fuzzing "unshar". > Was trying to compile with ASAN however doesn't work at all (could be > missing something that's why not worked). However, I did this manually > verified. Attached is the fuzzed file (password: abc123). > > john@fuzzing:~/sharutils-4.15.2/src/crashed_unshar$ gdb -q ../unshar > Reading symbols from ../unshar...done. > (gdb) r 2.fuzz > Starting program: /home/john/sharutils-4.15.2/src/unshar 2.fuzz > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". > 2.fuzz: > Segmentation fault > > Program received signal SIGPIPE, Broken pipe. > 0xb7fd9ce5 in __kernel_vsyscall () > (gdb) bt > #0 0xb7fd9ce5 in __kernel_vsyscall () > #1 0xb797bb93 in __write_nocancel () at > ../sysdeps/unix/syscall-template.S:84 > #2 0xb790f0b1 in _IO_new_file_write (f=0xb4103b50, data=0xb6100100, > n=4096) at fileops.c:1263 > #3 0xb790e3e4 in new_do_write (fp=fp@entry=0xb4103b50, > data=data@entry=0xb6100100 "", to_do=to_do@entry=4096) at fileops.c:518 > #4 0xb790f775 in _IO_new_file_xsputn (f=0xb4103b50, data=0xb6100100, > n=4096) at fileops.c:1342 > #5 0xb790e01e in __GI_fwrite_unlocked (buf=0xb6100100, size=1, > count=4096, fp=0xb4103b50) at iofwrite_u.c:43 > #6 0x0804c2df in unshar_file (name=0xbffff1e4 "2.fuzz", > file=0xb4903bc0) at unshar.c:396 > #7 0x0804a2f5 in validate_fname (fname=0xbffff1e4 "2.fuzz") at > unshar-opts.c:604 > #8 main (argc=2, argv=0xbfffefb4) at unshar-opts.c:639 > > Further verification of the source code, we found the issue was on the > line unshar.c:396 which is broken when performed write. Issue seems to > be more on memory corruption. Has this issue been further looked at and is there a patch available for the issue? Does it need a CVE assigned? Regards, Salvatore
Back to gnu.utils.bug | Previous | Next | Find similar
Re: Vulnerability Report on Sharutils 4.15.2 Salvatore Bonaccorso <carnil@debian.org> - 2018-03-25 19:51 +0200
csiph-web