Every CVE Search/ Get API key

CVE-2011-3145

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

3.8 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.98%Up 0.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

CVE List Score used 3.8

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

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.

Record
CVE-2011-3145
CVSS 3.0
3.8 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L
Updated
2026-11-02
EUVDEUVD-2011-3113 3.8

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.

Record
EUVD-2011-3113
CVSS 3.0
3.8 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-r6pf-mxwq-6rrh 9.8

When mount.ecrpytfs_private before version 87-0ubuntu1.2 calls setreuid() it doesn't also set the...

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.

Record
GHSA-r6pf-mxwq-6rrh
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
NVD 3.8

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.

Record
CVE-2011-3145
CVSS 3.0
3.8 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-254
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2011-3145
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2011-3145 9.8

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.

Record
DEBIAN-CVE-2011-3145
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ecryptfs-utils
Debian:12
before 92-1
92-1
ecryptfs-utils
Debian:13
before 92-1
92-1
ecryptfs-utils
Debian:14
before 92-1
92-1
ecryptfs-utils
Debian:5.0
before 68-1+lenny1, plus listed versions
68-1
68-1+lenny1
ecryptfs-utils
Debian:6.0
before 83-4+squeeze1, plus listed versions
83-4
83-4+squeeze1
ecryptfs-utils
Red Hat:enterprise_linux:5::client
before 0:75-5.el5_7.2
0:75-5.el5_7.2
ecryptfs-utils-debuginfo
Red Hat:enterprise_linux:5::client
before 0:75-5.el5_7.2
0:75-5.el5_7.2
ecryptfs-utils-gui
Red Hat:enterprise_linux:5::client
before 0:75-5.el5_7.2
0:75-5.el5_7.2
ecryptfs-utils
Red Hat:enterprise_linux:5::client_workstation
before 0:75-5.el5_7.2
0:75-5.el5_7.2
ecryptfs-utils-debuginfo
Red Hat:enterprise_linux:5::client_workstation
before 0:75-5.el5_7.2
0:75-5.el5_7.2
Show 9 moreShow less
Affected packages
PackageAffectedFixed
ecryptfs-utils-devel
Red Hat:enterprise_linux:5::client_workstation
before 0:75-5.el5_7.2
0:75-5.el5_7.2
ecryptfs-utils
Red Hat:enterprise_linux:5::server
before 0:75-5.el5_7.2
0:75-5.el5_7.2
ecryptfs-utils-debuginfo
Red Hat:enterprise_linux:5::server
before 0:75-5.el5_7.2
0:75-5.el5_7.2
ecryptfs-utils-devel
Red Hat:enterprise_linux:5::server
before 0:75-5.el5_7.2
0:75-5.el5_7.2
ecryptfs-utils-gui
Red Hat:enterprise_linux:5::server
before 0:75-5.el5_7.2
0:75-5.el5_7.2
ecryptfs-utils
Red Hat:enterprise_linux:6::server
before 0:82-6.el6_1.3
0:82-6.el6_1.3
ecryptfs-utils-debuginfo
Red Hat:enterprise_linux:6::server
before 0:82-6.el6_1.3
0:82-6.el6_1.3
ecryptfs-utils-devel
Red Hat:enterprise_linux:6::server
before 0:82-6.el6_1.3
0:82-6.el6_1.3
ecryptfs-utils-python
Red Hat:enterprise_linux:6::server
before 0:82-6.el6_1.3
0:82-6.el6_1.3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2011-3145 is a low vulnerability (CVSS 3.8) in Mount.ecrpytfs Private Project Private, published January 7, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.98%, the 62nd percentile. Fixed in ecryptfs-utils 92-1.

References

Show 21 moreShow less
MoveEnter Open