Skip to content
OpenAdvisories
Low · 3.8 CVE-2011-3145 EUVD-2011-3113GHSA-r6pf-mxwq-6rrh

mount.ecrpytfs_private sets group owner of /etc/mtab to user's primary group

Published Apr 22, 2019 · Updated Sep 16, 2024 · Assigned by mitre

Description

When mount.ecrpytfs_private before version 87-0ubuntu1.2 calls setreuid() it doesn't also set the effective group id. So when it creates the new version, mtab.tmp, it's created with the group id of the user running mount.ecryptfs_private.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ecryptfs-utils 92-1 —
Debian 13 ecryptfs-utils 92-1 —
Debian 12 ecryptfs-utils 92-1 —
Debian 6.0 ecryptfs-utils 83-4+squeeze1 DSA-2382-1
Debian 5.0 ecryptfs-utils 68-1+lenny1 DSA-2382-1
ReleasePackageFixed inAdvisory
RHEL 6 ecryptfs-utils +2 82-6.el6_1.3 RHSA-2011:1241
RHEL 5 ecryptfs-utils +2 75-5.el5_7.2 RHSA-2011:1241

Advisories 2

References