<?xml version="1.0" encoding="utf-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Red Hat Security Advisory: busybox security and bug fix update</DocumentTitle>
  <DocumentType>Security Advisory</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>secalert@redhat.com</ContactDetails>
    <IssuingAuthority>Red Hat Security Response Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification><ID>RHSA-2012:0810</ID></Identification>
    <Status>Final</Status>
    <Version>4</Version>
    <RevisionHistory>
       <Revision>
         <Number>4</Number>
         <Date>2012-06-20T08:19:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2012-06-20T08:19:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2012-06-20T08:19:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2012-06-20T09:00:22Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
Updated busybox packages that fix two security issues and several bugs are
now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having low
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.    </Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
BusyBox provides a single binary that includes versions of a large number
of system commands, including a shell. This can be very useful for
recovering from certain types of system failures, particularly those
involving broken shared libraries.

A buffer underflow flaw was found in the way the uncompress utility of
BusyBox expanded certain archive files compressed using Lempel-Ziv
compression. If a user were tricked into expanding a specially-crafted
archive file with uncompress, it could cause BusyBox to crash or,
potentially, execute arbitrary code with the privileges of the user
running BusyBox. (CVE-2006-1168)

The BusyBox DHCP client, udhcpc, did not sufficiently sanitize certain
options provided in DHCP server replies, such as the client hostname. A
malicious DHCP server could send such an option with a specially-crafted
value to a DHCP client. If this option's value was saved on the client
system, and then later insecurely evaluated by a process that assumes the
option is trusted, it could lead to arbitrary code execution with the
privileges of that process. Note: udhcpc is not used on Red Hat Enterprise
Linux by default, and no DHCP client script is provided with the busybox
packages. (CVE-2011-2716)

This update also fixes the following bugs:

* Prior to this update, the &quot;findfs&quot; command did not recognize Btrfs
partitions. As a consequence, an error message could occur when dumping a
core file. This update adds support for recognizing such partitions so
the problem no longer occurs. (BZ#751927)

* If the &quot;grep&quot; command was used with the &quot;-F&quot; and &quot;-i&quot; options at the
same time, the &quot;-i&quot; option was ignored. As a consequence, the &quot;grep -iF&quot;
command incorrectly performed a case-sensitive search instead of an
insensitive search. A patch has been applied to ensure that the combination
of the &quot;-F&quot; and &quot;-i&quot; options works as expected. (BZ#752134)

* Prior to this update, the msh shell did not support the &quot;set -o pipefail&quot;
command. This update adds support for this command. (BZ#782018)

* Previously, the msh shell could terminate unexpectedly with a
segmentation fault when attempting to execute an empty command as a result
of variable substitution (for example msh -c '$nonexistent_variable').
With this update, msh has been modified to correctly interpret such
commands and no longer crashes in this scenario. (BZ#809092)

* Previously, the msh shell incorrectly executed empty loops. As a
consequence, msh never exited such a loop even if the loop condition was
false, which could cause scripts using the loop to become unresponsive.
With this update, msh has been modified to execute and exit empty loops
correctly, so that hangs no longer occur. (BZ#752132)

All users of busybox are advised to upgrade to these updated packages,
which contain backported patches to fix these issues.    </Note>
    <Note Title="Terms of Use" Ordinal="3" Type="Legal Disclaimer" xml:lang="en">Please see https://www.redhat.com/footer/terms-of-use.html</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
  <AggregateSeverity Namespace="https://access.redhat.com/security/updates/classification/">Low</AggregateSeverity>
  <DocumentReferences>
    <Reference Type="Self">
       <URL>https://rhn.redhat.com/errata/RHSA-2012-0810.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2012-0810.html</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/security/updates/classification/#low</URL>
       <Description>https://access.redhat.com/security/updates/classification/#low</Description>
    </Reference>
    <Reference>
       <URL>https://bugzilla.redhat.com/show_bug.cgi?id=752134</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=752134</Description>
    </Reference>
    <Reference>
       <URL>https://bugzilla.redhat.com/show_bug.cgi?id=809092</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=809092</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Red Hat Enterprise Linux">
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Desktop Optional (v. 6)">
        <FullProductName ProductID="6Client-optional">Red Hat Enterprise Linux Desktop Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux HPC Node Optional (v. 6)">
        <FullProductName ProductID="6ComputeNode-optional">Red Hat Enterprise Linux HPC Node Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Workstation Optional (v. 6)">
        <FullProductName ProductID="6Workstation-optional">Red Hat Enterprise Linux Workstation Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Workstation (v. 6)">
        <FullProductName ProductID="6Workstation">Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux HPC Node (v. 6)">
        <FullProductName ProductID="6ComputeNode">Red Hat Enterprise Linux HPC Node (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Server Optional (v. 6)">
        <FullProductName ProductID="6Server-optional">Red Hat Enterprise Linux Server Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Desktop (v. 6)">
        <FullProductName ProductID="6Client">Red Hat Enterprise Linux Desktop (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Server (v. 6)">
        <FullProductName ProductID="6Server">Red Hat Enterprise Linux Server (v. 6)</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="busybox-1.15.1-15.el6">
      <FullProductName ProductID="busybox-1.15.1-15.el6">busybox-1.15.1-15.el6.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="busybox-1.15.1-15.el6" RelationType="Default Component Of" RelatesToProductReference="6Client-optional">
      <FullProductName ProductID="6Client-optional:busybox-1.15.1-15.el6">busybox-1.15.1-15.el6 as a component of Red Hat Enterprise Linux Desktop Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="busybox-1.15.1-15.el6" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode-optional">
      <FullProductName ProductID="6ComputeNode-optional:busybox-1.15.1-15.el6">busybox-1.15.1-15.el6 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="busybox-1.15.1-15.el6" RelationType="Default Component Of" RelatesToProductReference="6Workstation-optional">
      <FullProductName ProductID="6Workstation-optional:busybox-1.15.1-15.el6">busybox-1.15.1-15.el6 as a component of Red Hat Enterprise Linux Workstation Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="busybox-1.15.1-15.el6" RelationType="Default Component Of" RelatesToProductReference="6Workstation">
      <FullProductName ProductID="6Workstation:busybox-1.15.1-15.el6">busybox-1.15.1-15.el6 as a component of Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="busybox-1.15.1-15.el6" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode">
      <FullProductName ProductID="6ComputeNode:busybox-1.15.1-15.el6">busybox-1.15.1-15.el6 as a component of Red Hat Enterprise Linux HPC Node (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="busybox-1.15.1-15.el6" RelationType="Default Component Of" RelatesToProductReference="6Server-optional">
      <FullProductName ProductID="6Server-optional:busybox-1.15.1-15.el6">busybox-1.15.1-15.el6 as a component of Red Hat Enterprise Linux Server Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="busybox-1.15.1-15.el6" RelationType="Default Component Of" RelatesToProductReference="6Client">
      <FullProductName ProductID="6Client:busybox-1.15.1-15.el6">busybox-1.15.1-15.el6 as a component of Red Hat Enterprise Linux Desktop (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="busybox-1.15.1-15.el6" RelationType="Default Component Of" RelatesToProductReference="6Server">
      <FullProductName ProductID="6Server:busybox-1.15.1-15.el6">busybox-1.15.1-15.el6 as a component of Red Hat Enterprise Linux Server (v. 6)</FullProductName>
    </Relationship>
  </ProductTree>

  <Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A buffer underflow flaw was found in the way the uncompress utility of BusyBox expanded certain archive files compressed using Lempel-Ziv compression. If a user were tricked into expanding a specially-crafted archive file with uncompress, it could cause BusyBox to crash or, potentially, execute arbitrary code with the privileges of the user running BusyBox. </Note></Notes>
    <DiscoveryDate>2006-07-25T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2006-08-08T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2006-1168</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Client-optional:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6Client:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6ComputeNode-optional:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6ComputeNode:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6Server-optional:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6Server:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6Workstation-optional:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6Workstation:busybox-1.15.1-15.el6</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>5.1</BaseScore>
      <Vector>AV:N/AC:H/Au:N/C:P/I:P/A:P</Vector>
    </ScoreSet></CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix"><Description xml:lang="en">
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258    </Description>      <URL>https://rhn.redhat.com/errata/RHSA-2012-0810.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2006-1168.html</URL>
        <Description>CVE-2006-1168</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=201919</URL>
        <Description>bz#201919: CVE-2006-1168 ncompress: .bss buffer underflow in decompression</Description>
      </Reference>
    </References>
    <Acknowledgments><Acknowledgment><Description>Red Hat would like to thank Tavis Ormandy of the Google Security Team for reporting this issue.</Description></Acknowledgment></Acknowledgments>
  </Vulnerability>

  <Vulnerability Ordinal="2" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The BusyBox DHCP client, udhcpc, did not sufficiently sanitize certain options provided in DHCP server replies, such as the client hostname. A malicious DHCP server could send such an option with a specially-crafted value to a DHCP client. If this option's value was saved on the client system, and then later insecurely evaluated by a process that assumes the option is trusted, it could lead to arbitrary code execution with the privileges of that process. Note: udhcpc is not used on Red Hat Enterprise Linux by default, and no DHCP client script is provided with the busybox packages. </Note></Notes>
    <DiscoveryDate>2011-03-23T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2011-03-18T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2011-2716</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Client-optional:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6Client:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6ComputeNode-optional:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6ComputeNode:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6Server-optional:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6Server:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6Workstation-optional:busybox-1.15.1-15.el6</ProductID>
      <ProductID>6Workstation:busybox-1.15.1-15.el6</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Low</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>6.8</BaseScore>
      <Vector>AV:A/AC:H/Au:N/C:C/I:C/A:C</Vector>
    </ScoreSet></CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix"><Description xml:lang="en">
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258    </Description>      <URL>https://rhn.redhat.com/errata/RHSA-2012-0810.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2011-2716.html</URL>
        <Description>CVE-2011-2716</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=725364</URL>
        <Description>bz#725364: CVE-2011-2716 busybox: udhcpc insufficient checking of DHCP options</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
