Skip to navigation

Security Advisory Low: ecryptfs-utils security, bug fix, and enhancement update

Advisory: RHSA-2009:1307-2
Type: Security Advisory
Severity: Low
Issued on: 2009-09-02
Last updated on: 2009-09-02
Affected Products: RHEL Desktop Workstation (v. 5 client)
Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)
CVEs (cve.mitre.org): CVE-2008-5188

Details

Updated ecryptfs-utils packages that fix a security issue, various bugs,
and add enhancements are now available for Red Hat Enterprise Linux 5.

This update has been rated as having low security impact by the Red Hat
Security Response Team.

eCryptfs is a stacked, cryptographic file system. It is transparent to the
underlying file system and provides per-file granularity.

eCryptfs is released as a Technology Preview for Red Hat Enterprise Linux
5.4. These updated ecryptfs-utils packages have been upgraded to upstream
version 75, which provides a number of bug fixes and enhancements over the
previous version. In addition, these packages provide a graphical program
to help configure and use eCryptfs. To start this program, run the command:

ecryptfs-mount-helper-gui

Important: the syntax of certain eCryptfs mount options has changed. Users
who were previously using the initial Technology Preview release of
ecryptfs-utils are advised to refer to the ecryptfs(7) man page, and to
update any affected mount scripts and /etc/fstab entries for eCryptfs file
systems.

A disclosure flaw was found in the way the "ecryptfs-setup-private" script
passed passphrases to the "ecryptfs-wrap-passphrase" and
"ecryptfs-add-passphrase" commands as command line arguments. A local user
could obtain the passphrases of other users who were running the script
from the process listing. (CVE-2008-5188)

These updated packages provide various enhancements, including a mount
helper and supporting libraries to perform key management and mounting
functions.

Notable enhancements include:

* a new package, ecryptfs-utils-gui, has been added to this update. This
package depends on the pygtk2 and pygtk2-libglade packages and provides the
eCryptfs Mount Helper GUI program. To install the GUI, first install
ecryptfs-utils and then issue the following command:

yum install ecryptfs-utils-gui

(BZ#500997)

* the "ecryptfs-rewrite-file" utility is now more intelligent when dealing
with non-existent files and with filtering special files such as the "."
directory. In addition, the progress output from "ecryptfs-rewrite-file"
has been improved and is now more explicit about the success status of each
target. (BZ#500813)

* descriptions of the "verbose" flag and the "verbosity=[x]" option, where
[x] is either 0 or 1, were missing from a number of eCryptfs manual pages,
and have been added. Refer to the eCryptfs man pages for important
information regarding using the verbose and/or verbosity options.
(BZ#470444)

These updated packages also fix the following bugs:

* mounting a directory using the eCryptfs mount helper with an RSA key that
was too small did not allow the eCryptfs mount helper to encrypt the entire
key. When this situation occurred, the mount helper did not display an
error message alerting the user to the fact that the key size was too
small, possibly leading to corrupted files. The eCryptfs mount helper now
refuses RSA keys which are to small to encrypt the eCryptfs key.
(BZ#499175)

* when standard input was redirected from /dev/null or was unavailable,
attempting to mount a directory with the eCryptfs mount helper caused it to
become unresponsive and eventually crash, or an "invalid value" error
message, depending on if the "--verbosity=[value]" option was provided as
an argument, and, if so, its value. With these updated packages, attempting
to mount a directory using "mount.ecryptfs" under the same conditions
results in either the mount helper attempting to use default values (if
"verbosity=0" is supplied), or an "invalid value" error message (instead of
the mount helper hanging) if standard input is redirected and
"--verbosity=1" is supplied, or that option is omitted entirely.
(BZ#499367)

* attempting to use the eCryptfs mount helper with an OpenSSL key when the
keyring did not contain enough space for the key resulted in an unhelpful
error message. The user is now alerted when this situation occurs.
(BZ#501460)

* the eCryptfs mount helper no longer fails upon receiving an incorrect or
empty answer to "yes/no" questions. (BZ#466210)

Users are advised to upgrade to these updated ecryptfs-utils packages,
which resolve these issues and add these enhancements.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

Updated packages

RHEL Desktop Workstation (v. 5 client)

SRPMS:
ecryptfs-utils-75-5.el5.src.rpm
File outdated by:  RHBA-2011:1503
    MD5: 7f569fa76758329d42754a9e0e0ac78d
 
IA-32:
ecryptfs-utils-devel-75-5.el5.i386.rpm
File outdated by:  RHBA-2011:1503
    MD5: 9c70985290f9a69cb3ea5d7225030e82
 
x86_64:
ecryptfs-utils-devel-75-5.el5.i386.rpm
File outdated by:  RHBA-2011:1503
    MD5: 9c70985290f9a69cb3ea5d7225030e82
ecryptfs-utils-devel-75-5.el5.x86_64.rpm
File outdated by:  RHBA-2011:1503
    MD5: d4ca726bf693f7e2aa5fae372119e21d
 
Red Hat Enterprise Linux (v. 5 server)

SRPMS:
ecryptfs-utils-75-5.el5.src.rpm
File outdated by:  RHBA-2011:1503
    MD5: 7f569fa76758329d42754a9e0e0ac78d
 
IA-32:
ecryptfs-utils-75-5.el5.i386.rpm
File outdated by:  RHBA-2011:1503
    MD5: 372b1433516a6fa435740e9f2b31e075
ecryptfs-utils-devel-75-5.el5.i386.rpm
File outdated by:  RHBA-2011:1503
    MD5: 9c70985290f9a69cb3ea5d7225030e82
ecryptfs-utils-gui-75-5.el5.i386.rpm
File outdated by:  RHBA-2011:1503
    MD5: 8c18eebbbde6e7c90766fcc9e82f8ab0
 
IA-64:
ecryptfs-utils-75-5.el5.ia64.rpm
File outdated by:  RHBA-2011:1503
    MD5: e7a7fb9960edbf5088a473d90d58411a
ecryptfs-utils-devel-75-5.el5.ia64.rpm
File outdated by:  RHBA-2011:1503
    MD5: 112abbd3b2921d60af16c3b1ceb5ec23
ecryptfs-utils-gui-75-5.el5.ia64.rpm
File outdated by:  RHBA-2011:1503
    MD5: 3911f7723ae267605232d6559528542a
 
PPC:
ecryptfs-utils-75-5.el5.ppc.rpm
File outdated by:  RHBA-2011:1503
    MD5: 3f08db03c352e53d8bb6040a4b74edf2
ecryptfs-utils-75-5.el5.ppc64.rpm
File outdated by:  RHBA-2011:1503
    MD5: 76a209792f7867313e86998ad36955d7
ecryptfs-utils-devel-75-5.el5.ppc.rpm
File outdated by:  RHBA-2011:1503
    MD5: 230399fca1bf95be103375871a3b7fc0
ecryptfs-utils-devel-75-5.el5.ppc64.rpm
File outdated by:  RHBA-2011:1503
    MD5: 1d5263d13b1ecabbdb7bec60e0803eb2
ecryptfs-utils-gui-75-5.el5.ppc.rpm
File outdated by:  RHBA-2011:1503
    MD5: 5f3b5ad085548ff6f64db2e0a0269b43
 
s390x:
ecryptfs-utils-75-5.el5.s390.rpm
File outdated by:  RHBA-2011:1503
    MD5: 4004b395609cb79c5586e236baad95ff
ecryptfs-utils-75-5.el5.s390x.rpm
File outdated by:  RHBA-2011:1503
    MD5: 1ea839b427b4b106db65c154d2d48fc7
ecryptfs-utils-devel-75-5.el5.s390.rpm
File outdated by:  RHBA-2011:1503
    MD5: f61f5042f165cf91ea26dfed059f1610
ecryptfs-utils-devel-75-5.el5.s390x.rpm
File outdated by:  RHBA-2011:1503
    MD5: d7cb31a85ed9edc09d6902c8bc8d1633
ecryptfs-utils-gui-75-5.el5.s390x.rpm
File outdated by:  RHBA-2011:1503
    MD5: 90907e67419d91300b0d8bfb49d134a9
 
x86_64:
ecryptfs-utils-75-5.el5.i386.rpm
File outdated by:  RHBA-2011:1503
    MD5: 372b1433516a6fa435740e9f2b31e075
ecryptfs-utils-75-5.el5.x86_64.rpm
File outdated by:  RHBA-2011:1503
    MD5: 2ff9e6fd8b3f36929852c8bffa70cba8
ecryptfs-utils-devel-75-5.el5.i386.rpm
File outdated by:  RHBA-2011:1503
    MD5: 9c70985290f9a69cb3ea5d7225030e82
ecryptfs-utils-devel-75-5.el5.x86_64.rpm
File outdated by:  RHBA-2011:1503
    MD5: d4ca726bf693f7e2aa5fae372119e21d
ecryptfs-utils-gui-75-5.el5.x86_64.rpm
File outdated by:  RHBA-2011:1503
    MD5: d88e3dbb1af96ebae136ea445188dd27
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
ecryptfs-utils-75-5.el5.src.rpm
File outdated by:  RHBA-2011:1503
    MD5: 7f569fa76758329d42754a9e0e0ac78d
 
IA-32:
ecryptfs-utils-75-5.el5.i386.rpm
File outdated by:  RHBA-2011:1503
    MD5: 372b1433516a6fa435740e9f2b31e075
ecryptfs-utils-gui-75-5.el5.i386.rpm
File outdated by:  RHBA-2011:1503
    MD5: 8c18eebbbde6e7c90766fcc9e82f8ab0
 
x86_64:
ecryptfs-utils-75-5.el5.i386.rpm
File outdated by:  RHBA-2011:1503
    MD5: 372b1433516a6fa435740e9f2b31e075
ecryptfs-utils-75-5.el5.x86_64.rpm
File outdated by:  RHBA-2011:1503
    MD5: 2ff9e6fd8b3f36929852c8bffa70cba8
ecryptfs-utils-gui-75-5.el5.x86_64.rpm
File outdated by:  RHBA-2011:1503
    MD5: d88e3dbb1af96ebae136ea445188dd27
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

460496 - ecryptfs complains about a missing module, fails and then loads it
472524 - CVE-2008-5188 ecryptfs-utils: potential provided password disclosure in the process table
475969 - difference between the name of the binary and the name in its usage message
482834 - RHEL5: update ecryptfs-utils to latest
499128 - `man ecryptfs' is wrong on what to write to openssl_passwd_file=XXX
499367 - mount.ecrytfs hangs when used with wrong/missing stdin
500352 - mount helper asks different set questions when the mount options are OK and when are not
500361 - [ecryptfs-add-passphrase] adding key, which is in keyring already, results in error msg
500566 - When kernel does not support filename encryption `ecryptfs-add-passphrase --fnek' should exit with exit code != 0
500623 - Access-Your-Private-Data.desktop file should have an icon associated
500804 - Typo in ecryptfs-rewrite-file(1)
500810 - ecryptfs-insert-wrapped-passphrase-into-keyring fails to add passphrase to keyring if the passphrase is in the keyring already
500813 - ecryptfs-rewrite-file should be more wise when dealing with non-existing/bogus files
500817 - ecryptfs-dot-private is not expected to be executed, remove the "x" permission
500820 - ecryptfs-setup-swap: vol_id: command not found
500824 - Possible missing runtime dependencies for `ecryptfs-setup-swap'
500829 - `ecryptfs-setup-swap' tries to restart service ``cryptdisks'' which is not present in RHEL/Fedora
500850 - [RFE] ecryptfs-manager should ask for password confirmation when creating openssl key
500997 - ecryptfs-utils-gui must require pygtk2-libglade
501275 - Select key bytes: item "default" is bogus
501460 - Error msg from ecryptfs-utils does not reflect reality when adding key to "full" keyring


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/