CVE-2011-3145 json
mount.ecrpytfs_private sets group owner of /etc/mtab to user's primary group
published 2019-04-22 7 y ago modified 2026-06-16 4 mo ago also EUVD-2011-3113
- cvss
- 3.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- ecryptfs-utils Debian 14, Debian 13, Debian 12 92-1
debian advisories DEBIAN-CVE-2011-3145
- ecryptfs-utils RHEL 5 75-5.el5_7.2
- ecryptfs-utils RHEL 6 82-6.el6_1.3
- ecryptfs-utils-gui RHEL 5 75-5.el5_7.2
- ecryptfs-utils-python RHEL 6 82-6.el6_1.3
red hat advisories RHSA-2011:1241
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2011-3145 updated cvss 4.6
ecryptfs-utils: incorrect mtab group ownership
-
Red Hat Enterprise Linux (v. 5 server) ecryptfs-utils 75-5.el5_7.2, ecryptfs-utils-gui 75-5.el5_7.2 Red Hat Enterprise Linux Desktop (v. 5 client) ecryptfs-utils 75-5.el5_7.2, ecryptfs-utils-gui 75-5.el5_7.2 Red Hat Enterprise Linux Server (v. 6) ecryptfs-utils 82-6.el6_1.3, ecryptfs-utils-python 82-6.el6_1.3 Red Hat Enterprise Linux Server Optional (v. 6) ecryptfs-utils 82-6.el6_1.3, ecryptfs-utils-python 82-6.el6_1.3 Red Hat RHEL Desktop Workstation (v. 5 client) ecryptfs-utils 75-5.el5_7.2, ecryptfs-utils-gui 75-5.el5_7.2fixed: vendor fix RHSA-2011:1241
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.98% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 3.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L |
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-254 7PK - Security Features
References
-
bazaar.launchpad.net
/~ecryptfs/ecryptfs/trunk/revision/558
patch, third-party-advisory
Sources
- CVE List CVE-2011-3145
- NVD CVE-2011-3145
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.