<?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: quota 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-2013:0120</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2013-01-08T04:03:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2013-01-08T04:03:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2013-01-08T04:03:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2013-01-08T04:56:05Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
An updated quota package that fixes one security issue and multiple bugs is
now available for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having low
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.    </Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
The quota package provides system administration tools for monitoring
and limiting user and group disk usage on file systems.

It was discovered that the rpc.rquotad service did not use tcp_wrappers
correctly. Certain hosts access rules defined in &quot;/etc/hosts.allow&quot; and
&quot;/etc/hosts.deny&quot; may not have been honored, possibly allowing remote
attackers to bypass intended access restrictions. (CVE-2012-3417)

This issue was discovered by the Red Hat Security Response Team.

This update also fixes the following bugs:

* Prior to this update, values were not properly transported via the remote
procedure call (RPC) and interpreted by the client when querying the quota
usage or limits for network-mounted file systems if the quota values were
2^32 kilobytes or greater. As a consequence, the client reported mangled
values. This update modifies the underlying code so that such values are
correctly interpreted by the client. (BZ#667360)

* Prior to this update, warnquota sent messages about exceeded quota limits
from a valid domain name if the warnquota tool was enabled to send warning
e-mails and the superuser did not change the default warnquota
configuration. As a consequence, the recipient could reply to invalid
addresses. This update modifies the default warnquota configuration to use
the reserved example.com. domain. Now, warnings about exceeded quota limits
are sent from the reserved domain that inform the superuser to change to
the correct value. (BZ#680429)

* Previously, quota utilities could not recognize the file system as having
quotas enabled and refused to operate on it due to incorrect updating of
/etc/mtab. This update prefers /proc/mounts to get a list of file systems
with enabled quotas. Now, quota utilities recognize file systems with
enabled quotas as expected. (BZ#689822)

* Prior to this update, the setquota(8) tool on XFS file systems failed
to set disk limits to values greater than 2^31 kilobytes. This update
modifies the integer conversion in the setquota(8) tool to use a 64-bit
variable big enough to store such values. (BZ#831520)

All users of quota are advised to upgrade to this updated package, which
contains backported patches to resolve 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 © 2013 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-2013-0120.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2013-0120.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=667360</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=667360</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 (v. 5 client)">
        <FullProductName ProductID="5Client">Red Hat Enterprise Linux Desktop (v. 5 client)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux (v. 5 server)">
        <FullProductName ProductID="5Server">Red Hat Enterprise Linux (v. 5 server)</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="quota-3.13-8.el5">
      <FullProductName ProductID="quota-3.13-8.el5">quota-3.13-8.el5.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="quota-3.13-8.el5" RelationType="Default Component Of" RelatesToProductReference="5Client">
      <FullProductName ProductID="5Client:quota-3.13-8.el5">quota-3.13-8.el5 as a component of Red Hat Enterprise Linux Desktop (v. 5 client)</FullProductName>
    </Relationship>
    <Relationship ProductReference="quota-3.13-8.el5" RelationType="Default Component Of" RelatesToProductReference="5Server">
      <FullProductName ProductID="5Server:quota-3.13-8.el5">quota-3.13-8.el5 as a component of Red Hat Enterprise Linux (v. 5 server)</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">It was discovered that the rpc.rquotad service did not use tcp_wrappers correctly. Certain hosts access rules defined in &quot;/etc/hosts.allow&quot; and &quot;/etc/hosts.deny&quot; may not have been honored, possibly allowing remote attackers to bypass intended access restrictions. </Note></Notes>
    <DiscoveryDate>2009-04-22T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2009-04-22T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-3417</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>5Client:quota-3.13-8.el5</ProductID>
      <ProductID>5Server:quota-3.13-8.el5</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Low</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>4.0</BaseScore>
      <Vector>AV:N/AC:H/Au:N/C:P/I:P/A:N</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-2013-0120.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-3417.html</URL>
        <Description>CVE-2012-3417</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=566717</URL>
        <Description>bz#566717: CVE-2012-3417 quota: incorrect use of tcp_wrappers</Description>
      </Reference>
    </References>
    <Acknowledgments><Acknowledgment><Description>This issue was discovered by the Red Hat Security Response Team.</Description></Acknowledgment></Acknowledgments>
  </Vulnerability>
</cvrfdoc>
