CVE-2011-3145
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.
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
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 Low
CVSS: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 Low
CVSS: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 Critical
CVSS: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 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L - CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV: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 Critical
CVSS: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 Critical
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
ecryptfs-utilsDebian:12 |
before 92-1 | 92-1 |
ecryptfs-utilsDebian:13 |
before 92-1 | 92-1 |
ecryptfs-utilsDebian:14 |
before 92-1 | 92-1 |
ecryptfs-utilsDebian:5.0 |
before 68-1+lenny1, plus listed versions 68-1 |
68-1+lenny1 |
ecryptfs-utilsDebian:6.0 |
before 83-4+squeeze1, plus listed versions 83-4 |
83-4+squeeze1 |
ecryptfs-utilsRed Hat:enterprise_linux:5::client |
before 0:75-5.el5_7.2 | 0:75-5.el5_7.2 |
ecryptfs-utils-debuginfoRed Hat:enterprise_linux:5::client |
before 0:75-5.el5_7.2 | 0:75-5.el5_7.2 |
ecryptfs-utils-guiRed Hat:enterprise_linux:5::client |
before 0:75-5.el5_7.2 | 0:75-5.el5_7.2 |
ecryptfs-utilsRed Hat:enterprise_linux:5::client_workstation |
before 0:75-5.el5_7.2 | 0:75-5.el5_7.2 |
ecryptfs-utils-debuginfoRed Hat:enterprise_linux:5::client_workstation |
before 0:75-5.el5_7.2 | 0:75-5.el5_7.2 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ecryptfs-utils-develRed Hat:enterprise_linux:5::client_workstation |
before 0:75-5.el5_7.2 | 0:75-5.el5_7.2 |
ecryptfs-utilsRed Hat:enterprise_linux:5::server |
before 0:75-5.el5_7.2 | 0:75-5.el5_7.2 |
ecryptfs-utils-debuginfoRed Hat:enterprise_linux:5::server |
before 0:75-5.el5_7.2 | 0:75-5.el5_7.2 |
ecryptfs-utils-develRed Hat:enterprise_linux:5::server |
before 0:75-5.el5_7.2 | 0:75-5.el5_7.2 |
ecryptfs-utils-guiRed Hat:enterprise_linux:5::server |
before 0:75-5.el5_7.2 | 0:75-5.el5_7.2 |
ecryptfs-utilsRed Hat:enterprise_linux:6::server |
before 0:82-6.el6_1.3 | 0:82-6.el6_1.3 |
ecryptfs-utils-debuginfoRed Hat:enterprise_linux:6::server |
before 0:82-6.el6_1.3 | 0:82-6.el6_1.3 |
ecryptfs-utils-develRed Hat:enterprise_linux:6::server |
before 0:82-6.el6_1.3 | 0:82-6.el6_1.3 |
ecryptfs-utils-pythonRed Hat:enterprise_linux:6::server |
before 0:82-6.el6_1.3 | 0:82-6.el6_1.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE 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
bazaar.launchpad.net/~ecryptfs/ecryptfs/trunk/revision/558
nvd.nist.gov/vuln/detail/CVE-2011-3145
github.com/advisories/GHSA-r6pf-mxwq-6rrh
security-tracker.debian.org/tracker/CVE-2011-3145
access.redhat.com/errata/RHSA-2011:1241
access.redhat.com/security/updates/classification
Show 21 moreShow less
access.redhat.com/support/offerings/techpreview
bugzilla.redhat.com/show_bug.cgi?id=729465
bugzilla.redhat.com/show_bug.cgi?id=732607
security.access.redhat.com/data/csaf/v2/advisories/2011/rhsa-2011_1241.json
access.redhat.com/security/cve/CVE-2011-1831
cve.org/CVERecord?id=CVE-2011-1831
nvd.nist.gov/vuln/detail/CVE-2011-1831
access.redhat.com/security/cve/CVE-2011-1832
cve.org/CVERecord?id=CVE-2011-1832
nvd.nist.gov/vuln/detail/CVE-2011-1832
access.redhat.com/security/cve/CVE-2011-1834
cve.org/CVERecord?id=CVE-2011-1834
nvd.nist.gov/vuln/detail/CVE-2011-1834
access.redhat.com/security/cve/CVE-2011-1835
cve.org/CVERecord?id=CVE-2011-1835
nvd.nist.gov/vuln/detail/CVE-2011-1835
access.redhat.com/security/cve/CVE-2011-1837
cve.org/CVERecord?id=CVE-2011-1837
nvd.nist.gov/vuln/detail/CVE-2011-1837
access.redhat.com/security/cve/CVE-2011-3145
cve.org/CVERecord?id=CVE-2011-3145