Skip to navigation

Security Advisory Low: autofs security, bug fix, and enhancement update

Advisory: RHSA-2013:0132-1
Type: Security Advisory
Severity: Low
Issued on: 2013-01-08
Last updated on: 2013-01-08
Affected Products: Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)
CVEs (cve.mitre.org): CVE-2012-2697

Details

An updated autofs package that fixes one security issue, several bugs, and
adds one enhancement 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.

The autofs utility controls the operation of the automount daemon. The
automount daemon automatically mounts and unmounts file systems.

A bug fix included in RHBA-2012:0264 introduced a denial of service flaw in
autofs. When using autofs with LDAP, a local user could use this flaw to
crash autofs, preventing future mount requests from being processed until
the autofs service was restarted. Note: This flaw did not impact existing
mounts (except for preventing mount expiration). (CVE-2012-2697)

Red Hat would like to thank Ray Rocker for reporting this issue.

This update also fixes the following bugs:

* The autofs init script sometimes timed out waiting for the automount
daemon to exit and returned a shutdown failure if the daemon failed to exit
in time. To resolve this problem, the amount of time that the init script
waits for the daemon has been increased to allow for cases where servers
are slow to respond or there are many active mounts. (BZ#585058)

* Due to an omission when backporting a change, autofs attempted to
download the entire LDAP map at startup. This mistake has now been
corrected. (BZ#767428)

* A function to check the validity of a mount location was meant to check
only for a small subset of map location errors. A recent modification in
error reporting inverted a logic test in this validating function.
Consequently, the scope of the test was widened, which caused the automount
daemon to report false positive failures. With this update, the faulty
logic test has been corrected and false positive failures no longer occur.
(BZ#798448)

* When there were many attempts to access invalid or non-existent keys, the
automount daemon used excessive CPU resources. As a consequence, systems
sometimes became unresponsive. The code has been improved so that automount
checks for invalid keys earlier in the process which has eliminated a
significant amount of the processing overhead. (BZ#847101)

* The auto.master(5) man page did not document the "-t, --timeout" option
in the FORMAT options section. This update adds this information to the man
page. (BZ#859890)

This update also adds the following enhancement:

* Previously, it was not possible to configure separate timeout values for
individual direct map entries in the autofs master map. This update adds
this functionality. (BZ#690404)

All users of autofs are advised to upgrade to this updated package, which
contains backported patches to correct these issues and add this
enhancement.


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/knowledge/articles/11258

Updated packages

Red Hat Enterprise Linux (v. 5 server)

SRPMS:
autofs-5.0.1-0.rc2.177.el5.src.rpm
File outdated by:  RHBA-2013:1350
    MD5: 47fc753ae793dc4df700c4b7ac89b0f6
SHA-256: 0f5e025728b575fafa7325110cdbb336c593a9488eecbc76a737499072538d74
 
IA-32:
autofs-5.0.1-0.rc2.177.el5.i386.rpm
File outdated by:  RHBA-2013:1350
    MD5: b7e9dc3535fe709676e6dc6f0320ef08
SHA-256: 4655b2123d235aff45611a76365d106e6ab4cd12f177a396d2dcd99394a8c9e1
autofs-debuginfo-5.0.1-0.rc2.177.el5.i386.rpm
File outdated by:  RHBA-2013:1350
    MD5: 3070b0ff9ab83f84b0ff8c808264ffc5
SHA-256: 9be7492184908ca7ded7d0f58abd6595c73f40e359c451b58e683749103c1f31
 
IA-64:
autofs-5.0.1-0.rc2.177.el5.ia64.rpm
File outdated by:  RHBA-2013:1350
    MD5: 600432d3c3559c676fe054c96b791fb3
SHA-256: bbead4a933c2506a5d40f6913c47e57cb99b2ff54c417c61faa948e0b07b10be
autofs-debuginfo-5.0.1-0.rc2.177.el5.ia64.rpm
File outdated by:  RHBA-2013:1350
    MD5: 83679ce26304370c4f0c01faf5b6ff6a
SHA-256: 3ab7b2913eb99a4350a508dfc723210de853f069b382dc7a73a261bab65e0226
 
PPC:
autofs-5.0.1-0.rc2.177.el5.ppc.rpm
File outdated by:  RHBA-2013:1350
    MD5: 889742be96de3fa92dfac2aca8f3e248
SHA-256: 084ac5e0bb2282ad37b789b33e96ddec2435d1b89bb3d4332afa7d48c80f0a2d
autofs-debuginfo-5.0.1-0.rc2.177.el5.ppc.rpm
File outdated by:  RHBA-2013:1350
    MD5: fe1a25d74fa426100c0882a7b0c94ca6
SHA-256: b85ca389bfed348de8c41c7abdf951f5e1f8ce70eaa3c245e6baf537bbf2bc6a
 
s390x:
autofs-5.0.1-0.rc2.177.el5.s390x.rpm
File outdated by:  RHBA-2013:1350
    MD5: 7fec6f9040def26c26dfd7103238dc68
SHA-256: 4ad4f7eb2f7cfdb9011cd6ae359411dc6b444e603d5504817421eea6e824bc61
autofs-debuginfo-5.0.1-0.rc2.177.el5.s390x.rpm
File outdated by:  RHBA-2013:1350
    MD5: 4877caddc669b25cf4991f46c96b2191
SHA-256: ac6110ae1b01f76562b40ebe2043588d7f4623c8446fc9cf53b9afc5f3827a03
 
x86_64:
autofs-5.0.1-0.rc2.177.el5.x86_64.rpm
File outdated by:  RHBA-2013:1350
    MD5: 74a1a71b4fbf6278dfe7453313deb7c0
SHA-256: f2745a829836a43d28ab12e227f0c2b5abedf5cd263191c0367408da4defcd63
autofs-debuginfo-5.0.1-0.rc2.177.el5.x86_64.rpm
File outdated by:  RHBA-2013:1350
    MD5: e9f276ef67623f7c0b8da1da0569fdb9
SHA-256: 2d73e158124ce3431d6feb4f501d10819d6be3dca885c2df5458cc7e85c97f62
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
autofs-5.0.1-0.rc2.177.el5.src.rpm
File outdated by:  RHBA-2013:1350
    MD5: 47fc753ae793dc4df700c4b7ac89b0f6
SHA-256: 0f5e025728b575fafa7325110cdbb336c593a9488eecbc76a737499072538d74
 
IA-32:
autofs-5.0.1-0.rc2.177.el5.i386.rpm
File outdated by:  RHBA-2013:1350
    MD5: b7e9dc3535fe709676e6dc6f0320ef08
SHA-256: 4655b2123d235aff45611a76365d106e6ab4cd12f177a396d2dcd99394a8c9e1
autofs-debuginfo-5.0.1-0.rc2.177.el5.i386.rpm
File outdated by:  RHBA-2013:1350
    MD5: 3070b0ff9ab83f84b0ff8c808264ffc5
SHA-256: 9be7492184908ca7ded7d0f58abd6595c73f40e359c451b58e683749103c1f31
 
x86_64:
autofs-5.0.1-0.rc2.177.el5.x86_64.rpm
File outdated by:  RHBA-2013:1350
    MD5: 74a1a71b4fbf6278dfe7453313deb7c0
SHA-256: f2745a829836a43d28ab12e227f0c2b5abedf5cd263191c0367408da4defcd63
autofs-debuginfo-5.0.1-0.rc2.177.el5.x86_64.rpm
File outdated by:  RHBA-2013:1350
    MD5: e9f276ef67623f7c0b8da1da0569fdb9
SHA-256: 2d73e158124ce3431d6feb4f501d10819d6be3dca885c2df5458cc7e85c97f62
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

585058 - autofs5 init script times out before automount exits and incorrectly shows that autofs5 stop failed
643142 - "/net -hosts -fstype=nfs4" does not work while "/home /etc/auto.nfs4" works.
690404 - RFE: timeout option cannot be configured individually with multiple direct map entries
831772 - CVE-2012-2697 autofs: denial of service when using an LDAP-based automount map


References



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

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/