RHEL 5 : util-linux (RHSA-2012:0307)

This script is Copyright (C) 2012-2014 Tenable Network Security, Inc.


Synopsis :

The remote Red Hat host is missing one or more security updates.

Description :

An updated util-linux package that fixes multiple security issues,
various bugs, and adds two enhancements is now available for Red Hat
Enterprise Linux 5.

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.

The util-linux package contains a large variety of low-level system
utilities that are necessary for a Linux system to function. Among
others, util-linux contains the fdisk configuration tool and the login
program.

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 :

* When the user logged into a telnet server, the login utility did not
update the utmp database properly if the utility was executed from the
telnetd daemon. This was due to telnetd not creating an appropriate
entry in a utmp file before executing login. With this update, correct
entries are created and the database is updated properly. (BZ#646300)

* Various options were not described on the blockdev(8) manual page.
With this update, the blockdev(8) manual page includes all the
relevant options. (BZ#650937)

* Prior to this update, the build process of the util-linux package
failed in the po directory with the following error message:
'@MKINSTALLDIRS@: No such file or directory'. An upstream patch has
been applied to address this issue, and the util-linux package now
builds successfully. (BZ#677452)

* Previously, the ipcs(1) and ipcrm(1) manual pages mentioned an
invalid option, '-b'. With this update, only valid options are listed
on those manual pages. (BZ#678407)

* Previously, the mount(8) manual page contained incomplete
information about the ext4 and XFS file systems. With this update, the
mount(8) manual page contains the missing information. (BZ#699639)

In addition, this update adds the following enhancements :

* Previously, if DOS mode was enabled on a device, the fdisk utility
could report error messages similar to the following :

Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 1, 1) logical=(0, 2, 7)

This update enables users to switch off DOS compatible mode (by
specifying the '-c' option), and such error messages are no longer
displayed. (BZ#678430)

* This update adds the 'fsfreeze' command which halts access to a file
system on a disk. (BZ#726572)

All users of util-linux are advised to upgrade to this updated
package, which contains backported patches to correct these issues and
add these enhancements.

See also :

https://www.redhat.com/security/data/cve/CVE-2011-1675.html
https://www.redhat.com/security/data/cve/CVE-2011-1677.html
http://rhn.redhat.com/errata/RHSA-2012-0307.html

Solution :

Update the affected util-linux and / or util-linux-debuginfo packages.

Risk factor :

Medium / CVSS Base Score : 4.6
(CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 4.0
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : true

Family: Red Hat Local Security Checks

Nessus Plugin ID: 58061 ()

Bugtraq ID: 50941

CVE ID: CVE-2011-1675
CVE-2011-1677