{"id":"CVE-2008-4210","state":"PUBLISHED","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 file, which allows local users to gain the privileges of a dif","description":"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.","publishedAt":"2008-09-29T17:00:00.000Z","updatedAt":"2024-08-07T10:08:34.949Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22","http://secunia.com/advisories/32485","http://www.securityfocus.com/bid/31368","http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git%3Ba=commit%3Bh=7b82dc0e64e93f430182f36b46b79fcee87d3532","http://secunia.com/advisories/32237","http://www.redhat.com/support/errata/RHSA-2008-0957.html","http://rhn.redhat.com/errata/RHSA-2008-0972.html","http://www.openwall.com/lists/oss-security/2008/09/24/8","http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00000.html","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6386","http://secunia.com/advisories/33280","http://www.debian.org/security/2008/dsa-1653","http://www.openwall.com/lists/oss-security/2008/09/24/5","http://secunia.com/advisories/32356","http://secunia.com/advisories/32918","http://www.ubuntu.com/usn/usn-679-1","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9511","http://secunia.com/advisories/32759","http://www.mandriva.com/security/advisories?name=MDVSA-2008:220","http://secunia.com/advisories/32344","https://bugzilla.redhat.com/show_bug.cgi?id=463661","http://bugzilla.kernel.org/show_bug.cgi?id=8420","http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22","http://www.redhat.com/support/errata/RHSA-2008-0973.html","http://www.redhat.com/support/errata/RHSA-2008-0787.html","http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00007.html","http://secunia.com/advisories/32799","https://exchange.xforce.ibmcloud.com/vulnerabilities/45539","http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00001.html","http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html","http://secunia.com/advisories/33201"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:00.625Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2008/4xxx/CVE-2008-4210.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2008-4210","state":"PUBLISHED","datePublished":"2008-09-29T17:00:00.000Z","dateUpdated":"2024-08-07T10:08:34.949Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2008-09-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"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","name":"32485","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/31368","name":"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","name":"32237","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0957.html","name":"RHSA-2008:0957","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2008-0972.html","name":"RHSA-2008:0972","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2008/09/24/8","name":"[oss-security] 20080924 Re: CVE request: kernel: open() call allows setgid bit when user is not in new file's group","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00000.html","name":"SUSE-SA:2008:056","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6386","name":"oval:org.mitre.oval:def:6386","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://secunia.com/advisories/33280","name":"33280","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2008/dsa-1653","name":"DSA-1653","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.openwall.com/lists/oss-security/2008/09/24/5","name":"[oss-security] 20080924 CVE request: kernel: open() call allows setgid bit when user is not in new file's group","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/32356","name":"32356","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/32918","name":"32918","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.ubuntu.com/usn/usn-679-1","name":"USN-679-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9511","name":"oval:org.mitre.oval:def:9511","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://secunia.com/advisories/32759","name":"32759","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:220","name":"MDVSA-2008:220","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/32344","name":"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","name":"RHSA-2008:0973","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0787.html","name":"RHSA-2008:0787","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00007.html","name":"SUSE-SA:2008:051","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/32799","name":"32799","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45539","name":"linux-kernel-open-privilege-escalation(45539)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00001.html","name":"SUSE-SA:2008:057","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html","name":"SUSE-SR:2008:025","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/33201","name":"33201","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-09-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2007-07-08T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-4210","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22","refsource":"CONFIRM","url":"http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22"},{"name":"32485","refsource":"SECUNIA","url":"http://secunia.com/advisories/32485"},{"name":"31368","refsource":"BID","url":"http://www.securityfocus.com/bid/31368"},{"name":"http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git;a=commit;h=7b82dc0e64e93f430182f36b46b79fcee87d3532","refsource":"CONFIRM","url":"http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git;a=commit;h=7b82dc0e64e93f430182f36b46b79fcee87d3532"},{"name":"32237","refsource":"SECUNIA","url":"http://secunia.com/advisories/32237"},{"name":"RHSA-2008:0957","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2008-0957.html"},{"name":"RHSA-2008:0972","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2008-0972.html"},{"name":"[oss-security] 20080924 Re: CVE request: kernel: open() call allows setgid bit when user is not in new file's group","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2008/09/24/8"},{"name":"SUSE-SA:2008:056","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00000.html"},{"name":"oval:org.mitre.oval:def:6386","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6386"},{"name":"33280","refsource":"SECUNIA","url":"http://secunia.com/advisories/33280"},{"name":"DSA-1653","refsource":"DEBIAN","url":"http://www.debian.org/security/2008/dsa-1653"},{"name":"[oss-security] 20080924 CVE request: kernel: open() call allows setgid bit when user is not in new file's group","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2008/09/24/5"},{"name":"32356","refsource":"SECUNIA","url":"http://secunia.com/advisories/32356"},{"name":"32918","refsource":"SECUNIA","url":"http://secunia.com/advisories/32918"},{"name":"USN-679-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/usn-679-1"},{"name":"oval:org.mitre.oval:def:9511","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9511"},{"name":"32759","refsource":"SECUNIA","url":"http://secunia.com/advisories/32759"},{"name":"MDVSA-2008:220","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:220"},{"name":"32344","refsource":"SECUNIA","url":"http://secunia.com/advisories/32344"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=463661","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=463661"},{"name":"http://bugzilla.kernel.org/show_bug.cgi?id=8420","refsource":"CONFIRM","url":"http://bugzilla.kernel.org/show_bug.cgi?id=8420"},{"name":"http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22","refsource":"CONFIRM","url":"http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22"},{"name":"RHSA-2008:0973","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2008-0973.html"},{"name":"RHSA-2008:0787","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2008-0787.html"},{"name":"SUSE-SA:2008:051","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00007.html"},{"name":"32799","refsource":"SECUNIA","url":"http://secunia.com/advisories/32799"},{"name":"linux-kernel-open-privilege-escalation(45539)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45539"},{"name":"SUSE-SA:2008:057","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00001.html"},{"name":"SUSE-SR:2008:025","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html"},{"name":"33201","refsource":"SECUNIA","url":"http://secunia.com/advisories/33201"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/32485","name":"32485","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/bid/31368","name":"31368","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git%3Ba=commit%3Bh=7b82dc0e64e93f430182f36b46b79fcee87d3532","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/32237","name":"32237","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0957.html","name":"RHSA-2008:0957","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2008-0972.html","name":"RHSA-2008:0972","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/09/24/8","name":"[oss-security] 20080924 Re: CVE request: kernel: open() call allows setgid bit when user is not in new file's group","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00000.html","name":"SUSE-SA:2008:056","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6386","name":"oval:org.mitre.oval:def:6386","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://secunia.com/advisories/33280","name":"33280","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2008/dsa-1653","name":"DSA-1653","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/09/24/5","name":"[oss-security] 20080924 CVE request: kernel: open() call allows setgid bit when user is not in new file's group","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://secunia.com/advisories/32356","name":"32356","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/32918","name":"32918","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-679-1","name":"USN-679-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9511","name":"oval:org.mitre.oval:def:9511","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://secunia.com/advisories/32759","name":"32759","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:220","name":"MDVSA-2008:220","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/32344","name":"32344","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=463661","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://bugzilla.kernel.org/show_bug.cgi?id=8420","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0973.html","name":"RHSA-2008:0973","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0787.html","name":"RHSA-2008:0787","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00007.html","name":"SUSE-SA:2008:051","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/32799","name":"32799","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45539","name":"linux-kernel-open-privilege-escalation(45539)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00001.html","name":"SUSE-SA:2008:057","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html","name":"SUSE-SR:2008:025","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/33201","name":"33201","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T10:08:34.949Z"}}]}}}