{"id":"CVE-2008-4210","published":"2008-09-29T17:00:00Z","modified":"2024-08-07T10:08:34Z","title":"fs/open.c in the Linux kernel before 2.6.22 does not properly strip setuid and setgid bits when there is a write to a…","vendor":null,"product":null,"tier":"tail","description":{"text":"fs/open.c in the Linux kernel before 2.6.22 does not properly strip setuid and setgid bits when there is a write to a file, which allows local users to gain the privileges of a different group, and obtain sensitive information or possibly have unspecified other impact, by creating an executable file in a setgid directory through the (1) truncate or (2) ftruncate function in conjunction with memory-mapped I/O.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02159,"percentile":0.82202,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/32485","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/31368","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git%3Ba=commit%3Bh=7b82dc0e64e93f430182f36b46b79fcee87d3532","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/32237","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0957.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2008-0972.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2008/09/24/8","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00000.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6386","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://secunia.com/advisories/33280","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2008/dsa-1653","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.openwall.com/lists/oss-security/2008/09/24/5","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/32356","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/32918","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.ubuntu.com/usn/usn-679-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9511","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://secunia.com/advisories/32759","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:220","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/32344","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=463661","tags":["x_refsource_CONFIRM"]},{"url":"http://bugzilla.kernel.org/show_bug.cgi?id=8420","tags":["x_refsource_CONFIRM"]},{"url":"http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22","tags":["x_refsource_CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0973.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0787.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00007.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/32799","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45539","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00001.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/33201","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":21.4,"factors":[{"name":"EPSS percentile","points":16.44},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2008-10-27"},"first":{"date":"2008-10-27","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/6851"},"provenance":"source"},"euvd":{"id":"EUVD-2008-4193","exploited":false,"provenance":"source"},"exploits":[{"id":6851,"url":"https://www.exploit-db.com/exploits/6851","title":"Linux Kernel < 2.6.22 - 'ftruncate()'/'open()' Local Privilege Escalation","date":"2008-10-27","verified":true,"provenance":"source"}]}