Vulnerabilities / CVE-2011-3145

critical

CVE-2011-3145

ecryptfs-utils: incorrect mtab group ownership

Published Modified CWE 254
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat4.6AV:L/AC:L/Au:N/C:P/I:P/A:P

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Oracle (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 11ecryptfs-utils92-1
debian 12ecryptfs-utils92-1
debian 13ecryptfs-utils92-1
debian 14ecryptfs-utils92-1
echoecryptfs-utils92-1
Oracle Linux 5ecryptfs-utils, ecryptfs-utils-devel, ecryptfs-utils-gui75-5.el5_7.2
Oracle Linux 6ecryptfs-utils, ecryptfs-utils-devel, ecryptfs-utils-python82-6.el6_1.3
Show all 11 entries from 7 sources
SourcePackageFixed in
debian 11ecryptfs-utils92-1
debian 12ecryptfs-utils92-1
debian 13ecryptfs-utils92-1
debian 14ecryptfs-utils92-1
echoecryptfs-utils92-1
Oracle Linux 5ecryptfs-utils75-5.el5_7.2
Oracle Linux 5ecryptfs-utils-devel75-5.el5_7.2
Oracle Linux 5ecryptfs-utils-gui75-5.el5_7.2
Oracle Linux 6ecryptfs-utils82-6.el6_1.3
Oracle Linux 6ecryptfs-utils-devel82-6.el6_1.3
Oracle Linux 6ecryptfs-utils-python82-6.el6_1.3

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.