-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2011.1210
       Low: util-linux-ng security, bug fix, and enhancement update
                              7 December 2011

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           util-linux-ng
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 6
                   Red Hat Enterprise Linux WS/Desktop 6
                   Linux variants
Impact/Access:     Denial of Service              -- Existing Account
                   Provide Misleading Information -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2011-1677 CVE-2011-1675 

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2011-1691.html

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Red Hat. It is recommended that administrators
         running util-linux-ng check for an updated version of the software 
         for their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Low: util-linux-ng security, bug fix, and enhancement update
Advisory ID:       RHSA-2011:1691-03
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2011-1691.html
Issue date:        2011-12-06
CVE Names:         CVE-2011-1675 CVE-2011-1677 
=====================================================================

1. Summary:

Updated util-linux-ng packages that fix multiple security issues, several
bugs, and add various enhancements 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.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64
Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64

3. Description:

The util-linux-ng packages contain a large variety of low-level system
utilities that are necessary for a Linux operating system to function.

Multiple flaws were found in the way the mount and umount commands
performed mtab (mounted file systems table) file updates. A local,
unprivileged user allowed to mount or unmount file systems could use these
flaws to corrupt the mtab file and create a stale lock file, preventing
other users from mounting and unmounting file systems. (CVE-2011-1675,
CVE-2011-1677)

This update also fixes the following bugs:

* Due to a hard coded limit of 128 devices, an attempt to run the
"blkid -c" command on more than 128 devices caused blkid to terminate
unexpectedly. This update increases the maximum number of devices to 8192
so that blkid no longer crashes in this scenario. (BZ#675999)

* Previously, the "swapon -a" command did not detect device-mapper
devices that were already in use. This update corrects the swapon utility
to detect such devices as expected. (BZ#679741)

* Prior to this update, the presence of an invalid line in the /etc/fstab
file could cause the umount utility to terminate unexpectedly with
a segmentation fault. This update applies a patch that corrects this error
so that umount now correctly reports invalid lines and no longer crashes.
(BZ#684203)

* Previously, an attempt to use the wipefs utility on a partitioned
device caused the utility to terminate unexpectedly with an error. This
update adapts wipefs to only display a warning message in this situation.
(BZ#696959)

* When providing information on interprocess communication (IPC)
facilities, the ipcs utility could previously display a process owner as
a negative number if the user's UID was too large. This update adapts the
underlying source code to make sure the UID values are now displayed
correctly. (BZ#712158)

* In the installation scriptlets, the uuidd package uses the chkconfig
utility to enable and disable the uuidd service. Previously, this package
did not depend on the chkconfig package, which could lead to errors during
installation if chkconfig was not installed. This update adds chkconfig
to the list of dependencies so that such errors no longer occur.
(BZ#712808)

* The previous version of the /etc/udev/rules.d/60-raw.rules file
contained a statement that both this file and raw devices are deprecated.
This is no longer true and the Red Hat Enterprise Linux kernel supports
this functionality. With this update, the aforementioned file no longer
contains this incorrect statement. (BZ#716995)

* Previously, an attempt to use the cfdisk utility to read the default
Red Hat Enterprise Linux 6 partition layout failed with an error. This
update corrects this error and the cfdisk utility can now read the default
partition layout as expected. (BZ#723352)

* The previous version of the tailf(1) manual page incorrectly stated that
users can use the "--lines=NUMBER" command line option to limit the number
of displayed lines. However, the tailf utility does not allow the use of
the equals sign (=) between the option and its argument. This update
corrects this error. (BZ#679831)

* The fstab(5) manual page has been updated to clarify that empty lines in
the /etc/fstab configuration file are ignored. (BZ#694648)

As well, this update adds the following enhancements:

* A new fstrim utility has been added to the package. This utility allows
the root user to discard unused blocks on a mounted file system.
(BZ#692119)

* The login utility has been updated to provide support for failed login
attempts that are reported by PAM. (BZ#696731)

* The lsblk utility has been updated to provide additional information
about the topology and status of block devices. (BZ#723638)

* The agetty utility has been updated to pass the hostname to the login
utility. (BZ#726092)

All users of util-linux-ng are advised to upgrade to these updated
packages, which contain backported patches to correct these issues and add
these enhancements.

4. Solution:

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/kb/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

675999 - blkid crashes on a server with more than 128 storage devices
679741 - canonicalize swap devices
679831 - --lines does not work: tailf: invalid option
684203 - umount fails on inconsistent fstab
692119 - Include fstrim tool to enable user-space using discard/UNMAP/WRITE_SAME for enterprise arrays
694648 - [RHEL6] Blank line at head of fstab
695916 - CVE-2011-1675 util-linux: mount fails to anticipate RLIMIT_FSIZE
695924 - CVE-2011-1677 util-linux: umount may fail to remove /etc/mtab~ lock file
696731 - display failed login attempts
696959 - wipefs(8) reject partitioned devices
712158 - uid/gid overflow in ipcs
712808 - uuidd should depend on chkconfig
716995 - Remove Deprecation Statement in /etc/udev/rules.d/60-raw.rules
723352 - cfdisk cannot read default installer partitioning
723546 - Defects revealed by Coverity scan
723638 - Backport upstream extensions for lsblk
726092 - Pass host name from agetty to login

6. Package List:

Red Hat Enterprise Linux Desktop (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/util-linux-ng-2.17.2-12.4.el6.src.rpm

i386:
libblkid-2.17.2-12.4.el6.i686.rpm
libuuid-2.17.2-12.4.el6.i686.rpm
util-linux-ng-2.17.2-12.4.el6.i686.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.i686.rpm
uuidd-2.17.2-12.4.el6.i686.rpm

x86_64:
libblkid-2.17.2-12.4.el6.i686.rpm
libblkid-2.17.2-12.4.el6.x86_64.rpm
libuuid-2.17.2-12.4.el6.i686.rpm
libuuid-2.17.2-12.4.el6.x86_64.rpm
util-linux-ng-2.17.2-12.4.el6.i686.rpm
util-linux-ng-2.17.2-12.4.el6.x86_64.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.i686.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.x86_64.rpm
uuidd-2.17.2-12.4.el6.x86_64.rpm

Red Hat Enterprise Linux Desktop Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/util-linux-ng-2.17.2-12.4.el6.src.rpm

i386:
libblkid-devel-2.17.2-12.4.el6.i686.rpm
libuuid-devel-2.17.2-12.4.el6.i686.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.i686.rpm

x86_64:
libblkid-devel-2.17.2-12.4.el6.i686.rpm
libblkid-devel-2.17.2-12.4.el6.x86_64.rpm
libuuid-devel-2.17.2-12.4.el6.i686.rpm
libuuid-devel-2.17.2-12.4.el6.x86_64.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.i686.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.x86_64.rpm

Red Hat Enterprise Linux HPC Node (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/util-linux-ng-2.17.2-12.4.el6.src.rpm

x86_64:
libblkid-2.17.2-12.4.el6.i686.rpm
libblkid-2.17.2-12.4.el6.x86_64.rpm
libuuid-2.17.2-12.4.el6.i686.rpm
libuuid-2.17.2-12.4.el6.x86_64.rpm
util-linux-ng-2.17.2-12.4.el6.i686.rpm
util-linux-ng-2.17.2-12.4.el6.x86_64.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.i686.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.x86_64.rpm
uuidd-2.17.2-12.4.el6.x86_64.rpm

Red Hat Enterprise Linux HPC Node Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/util-linux-ng-2.17.2-12.4.el6.src.rpm

x86_64:
libblkid-devel-2.17.2-12.4.el6.i686.rpm
libblkid-devel-2.17.2-12.4.el6.x86_64.rpm
libuuid-devel-2.17.2-12.4.el6.i686.rpm
libuuid-devel-2.17.2-12.4.el6.x86_64.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.i686.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/util-linux-ng-2.17.2-12.4.el6.src.rpm

i386:
libblkid-2.17.2-12.4.el6.i686.rpm
libblkid-devel-2.17.2-12.4.el6.i686.rpm
libuuid-2.17.2-12.4.el6.i686.rpm
libuuid-devel-2.17.2-12.4.el6.i686.rpm
util-linux-ng-2.17.2-12.4.el6.i686.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.i686.rpm
uuidd-2.17.2-12.4.el6.i686.rpm

ppc64:
libblkid-2.17.2-12.4.el6.ppc.rpm
libblkid-2.17.2-12.4.el6.ppc64.rpm
libblkid-devel-2.17.2-12.4.el6.ppc.rpm
libblkid-devel-2.17.2-12.4.el6.ppc64.rpm
libuuid-2.17.2-12.4.el6.ppc.rpm
libuuid-2.17.2-12.4.el6.ppc64.rpm
libuuid-devel-2.17.2-12.4.el6.ppc.rpm
libuuid-devel-2.17.2-12.4.el6.ppc64.rpm
util-linux-ng-2.17.2-12.4.el6.ppc.rpm
util-linux-ng-2.17.2-12.4.el6.ppc64.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.ppc.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.ppc64.rpm
uuidd-2.17.2-12.4.el6.ppc64.rpm

s390x:
libblkid-2.17.2-12.4.el6.s390.rpm
libblkid-2.17.2-12.4.el6.s390x.rpm
libblkid-devel-2.17.2-12.4.el6.s390.rpm
libblkid-devel-2.17.2-12.4.el6.s390x.rpm
libuuid-2.17.2-12.4.el6.s390.rpm
libuuid-2.17.2-12.4.el6.s390x.rpm
libuuid-devel-2.17.2-12.4.el6.s390.rpm
libuuid-devel-2.17.2-12.4.el6.s390x.rpm
util-linux-ng-2.17.2-12.4.el6.s390.rpm
util-linux-ng-2.17.2-12.4.el6.s390x.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.s390.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.s390x.rpm
uuidd-2.17.2-12.4.el6.s390x.rpm

x86_64:
libblkid-2.17.2-12.4.el6.i686.rpm
libblkid-2.17.2-12.4.el6.x86_64.rpm
libblkid-devel-2.17.2-12.4.el6.i686.rpm
libblkid-devel-2.17.2-12.4.el6.x86_64.rpm
libuuid-2.17.2-12.4.el6.i686.rpm
libuuid-2.17.2-12.4.el6.x86_64.rpm
libuuid-devel-2.17.2-12.4.el6.i686.rpm
libuuid-devel-2.17.2-12.4.el6.x86_64.rpm
util-linux-ng-2.17.2-12.4.el6.i686.rpm
util-linux-ng-2.17.2-12.4.el6.x86_64.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.i686.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.x86_64.rpm
uuidd-2.17.2-12.4.el6.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/util-linux-ng-2.17.2-12.4.el6.src.rpm

i386:
libblkid-2.17.2-12.4.el6.i686.rpm
libblkid-devel-2.17.2-12.4.el6.i686.rpm
libuuid-2.17.2-12.4.el6.i686.rpm
libuuid-devel-2.17.2-12.4.el6.i686.rpm
util-linux-ng-2.17.2-12.4.el6.i686.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.i686.rpm
uuidd-2.17.2-12.4.el6.i686.rpm

x86_64:
libblkid-2.17.2-12.4.el6.i686.rpm
libblkid-2.17.2-12.4.el6.x86_64.rpm
libblkid-devel-2.17.2-12.4.el6.i686.rpm
libblkid-devel-2.17.2-12.4.el6.x86_64.rpm
libuuid-2.17.2-12.4.el6.i686.rpm
libuuid-2.17.2-12.4.el6.x86_64.rpm
libuuid-devel-2.17.2-12.4.el6.i686.rpm
libuuid-devel-2.17.2-12.4.el6.x86_64.rpm
util-linux-ng-2.17.2-12.4.el6.i686.rpm
util-linux-ng-2.17.2-12.4.el6.x86_64.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.i686.rpm
util-linux-ng-debuginfo-2.17.2-12.4.el6.x86_64.rpm
uuidd-2.17.2-12.4.el6.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2011-1675.html
https://www.redhat.com/security/data/cve/CVE-2011-1677.html
https://access.redhat.com/security/updates/classification/#low

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2011 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFO3jejXlSAg2UNWIIRAh39AJ9SmNlmbtuPuGGNSnKCaGirN4nAKwCfas8d
QHdUnk9PFsZii5D9SJh1w8g=
=yWd9
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBTt8WVO4yVqjM2NGpAQL3IBAAnBTC7b8gxqB+BZjrhzAWMr5EzkWI8GWP
Gsy0UM3aJrw7HSyQzOFpQubX4B9GomTcj2OFyGfUMBn/CKj3ga8u3hQ7iGpEcRIR
ZDxnZOTVfYaI9GPcCdNrOpco93oJA654pLEjNRZyTWnBKGEActyYEbDDkkp5mlnK
LtD+4pikkSCAwkGivX2gIa9J8RZdR9vWM6jA6wP1JdFdn77tq0Bo79gxZLWFZgGm
aSh7glGXUFTevZum72cTyGHvzgfiTd3hHItmG0mImQHt5LOUV9gl7YhRua8IYsL/
XK5L/m/hZs/J6LSWtLs+JHqcCC2JZ9MkJ7zjbRYSKHj16YHsiT952Zbcn1XwPY+r
nlhCRDJ1uFRX0KnEotu+3Y80V8iVLs6bw1Y+/h9H2DUUZ45jGI4jH5e94RqT/6q8
XoPoTx63hYCG3qk3ag9MUd/BF+3SUqxGVPO1nIOOn8liAgtg+JDW3wJJX3dID+K2
ejRcQolVaPDc3c8qdcS5ryVl7iEStJ+xxsapajmRxCJ8b/bLt4VkCZPJxWwt2AWp
ESkDslqHwjw7s6NSVdya8NuzsTQZZqzzVmg8gYFbYH/GTf7gPaUAOcLfHdcDkyPv
pPWMlVSA8L8m/UapnlK7od6PRpv77U16ZIkylMLAlyZqYrycl9IAQI8IRLUVeAdS
ONI+u4oybfQ=
=f6ra
-----END PGP SIGNATURE-----