{"id":"CVE-2011-3145","aliases":["DEBIAN-CVE-2011-3145","DSA-2382-1","EUVD-2011-3113","GHSA-r6pf-mxwq-6rrh","RHSA-2011:1241"],"status":"published","title":"mount.ecrpytfs_private sets group owner of /etc/mtab to user's primary group","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.","severity":{"version":"3.0","score":3.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.0098,"percentile":0.62457,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-254"],"published":"2012-01-07T00:00:00Z","modified":"2026-10-23T18:03:44Z","fixes":[{"ecosystem":"Debian:12","package":"ecryptfs-utils","fixed_in":["92-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ecryptfs-utils","fixed_in":["92-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ecryptfs-utils","fixed_in":["92-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"ecryptfs-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"92-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ecryptfs-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"92-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ecryptfs-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"92-1"}]}]},{"source":"osv","ecosystem":"Debian:5.0","package":"ecryptfs-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"68-1+lenny1"}]}],"versions":["68-1"],"bundled":6},{"source":"osv","ecosystem":"Debian:6.0","package":"ecryptfs-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"83-4+squeeze1"}]}],"versions":["83-4"],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ecryptfs-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:75-5.el5_7.2"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ecryptfs-utils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:75-5.el5_7.2"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ecryptfs-utils-gui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:75-5.el5_7.2"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"ecryptfs-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:75-5.el5_7.2"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"ecryptfs-utils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:75-5.el5_7.2"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"ecryptfs-utils-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:75-5.el5_7.2"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ecryptfs-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:75-5.el5_7.2"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ecryptfs-utils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:75-5.el5_7.2"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ecryptfs-utils-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:75-5.el5_7.2"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ecryptfs-utils-gui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:75-5.el5_7.2"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"ecryptfs-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:82-6.el6_1.3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"ecryptfs-utils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:82-6.el6_1.3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"ecryptfs-utils-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:82-6.el6_1.3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"ecryptfs-utils-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:82-6.el6_1.3"}]}],"bundled":6}],"products":[{"vendor":"mount.ecrpytfs_private_project","product":"mount.ecrpytfs_private"}],"references":[{"url":"http://bazaar.launchpad.net/~ecryptfs/ecryptfs/trunk/revision/558","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-3145","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-r6pf-mxwq-6rrh"},{"url":"https://security-tracker.debian.org/tracker/CVE-2011-3145","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2011:1241","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/support/offerings/techpreview/","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=729465","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=732607","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2011/rhsa-2011_1241.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2011-1831","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-1831","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-1831","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2011-1832","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-1832","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-1832","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2011-1834","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-1834","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-1834","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2011-1835","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-1835","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-1835","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2011-1837","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-1837","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-1837","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2011-3145","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-3145","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2011-3145","title":"mount.ecrpytfs_private sets group owner of /etc/mtab to user's primary group","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.","status":"published","published":"2019-04-22T15:35:58.852Z","modified":"2024-09-16T22:51:14.054Z","cvss":[{"version":"3.0","score":3.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","level":"low","assessor":"cna"}],"updated_at":"2026-11-02T14:35:37.324501Z"}],"euvd":[{"id":"EUVD-2011-3113","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.","status":"published","published":"2019-04-22T15:35:58Z","modified":"2024-09-16T22:51:14Z","cvss":[{"version":"3.0","score":3.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-03T00:54:59.221564Z"}],"ghsa":[{"id":"GHSA-r6pf-mxwq-6rrh","title":"When mount.ecrpytfs_private before version 87-0ubuntu1.2 calls setreuid() it doesn't also set the...","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.","status":"published","published":"2022-04-22T00:24:07Z","modified":"2024-04-03T23:04:32Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T14:55:46.758976Z"}],"nvd":[{"id":"CVE-2011-3145","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.","status":"published","published":"2019-04-22T16:29:00.287Z","modified":"2026-06-16T23:32:44.857Z","cvss":[{"version":"3.0","score":3.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","level":"low","assessor":"secondary"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-254"],"updated_at":"2026-11-02T14:02:12.945371Z"}],"osv":[{"id":"CVE-2011-3145","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.","status":"published","published":"2019-04-22T16:29:00Z","modified":"2026-04-10T03:41:55.445591Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:43:58.279353Z"},{"id":"DEBIAN-CVE-2011-3145","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.","status":"published","published":"2019-04-22T16:29:00.287Z","modified":"2026-10-23T18:03:44.373462826Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:24.612044Z"},{"id":"DSA-2382-1","title":"ecryptfs-utils - multiple","status":"published","published":"2012-01-07T00:00:00Z","modified":"2026-03-09T01:20:14.558962Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"RHSA-2011:1241","title":"Red Hat Security Advisory: ecryptfs-utils security update","status":"published","published":"2024-09-15T19:22:58Z","modified":"2026-06-26T12:21:39.546144311Z","updated_at":"2026-11-02T15:53:01.003286Z"}]}}
