Bug 728536 - CVE-2006-1168 busybox: uncompress buffer underflow
Summary: CVE-2006-1168 busybox: uncompress buffer underflow
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: busybox
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Denys Vlasenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2006-1168
TreeView+ depends on / blocked
 
Reported: 2011-08-05 12:55 UTC by Tomas Hoger
Modified: 2011-11-03 15:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-03 15:54:18 UTC


Attachments (Terms of Use)

Description Tomas Hoger 2011-08-05 12:55:17 UTC
Description of problem:
busybox embeds (n)compress code in its libunarchive/libarchive.  This embedded copy has not been patched for the following bug:

https://bugs.gentoo.org/show_bug.cgi?id=141728
http://ncompress.git.sourceforge.net/git/gitweb.cgi?p=ncompress/ncompress;a=commitdiff;h=e21aad4a5a3ba0b6c2279b28a80f85b0b226a175

Steps to Reproduce:
$ perl -e 'print "\x1f\x9d\x90","\x01"x"2048"' | busybox uncompress
Segmentation fault

Comment 1 Tomas Hoger 2011-08-05 13:03:44 UTC
bss or heap, depending on the version, it seems.

Comment 2 Denys Vlasenko 2011-08-18 12:32:58 UTC
Fixed in upstream git:

commit 251fc70e9722f931eec23a34030d05ba5f747b0e
Author: Denys Vlasenko <vda.linux@googlemail.com>
Date:   Thu Aug 18 14:29:41 2011 +0200

    uncompress: fix buffer underrun by corrupted input


Fix for the latest release:

http://busybox.net/downloads/fixes-1.19.0/busybox-1.19.0-uncompress.patch

Comment 3 Denys Vlasenko 2011-11-03 15:54:18 UTC
F17 is rebased to busybox-1.19.3, which contains this fix


Note You need to log in before you can comment on or make changes to this bug.