{"id":"CVE-2002-0820","state":"PUBLISHED","title":"FreeBSD kernel 4.6 and earlier closes the file descriptors 0, 1, and 2 after they have already been assigned to /dev/null when the descriptors reference procfs or linprocfs, which ","description":"FreeBSD kernel 4.6 and earlier closes the file descriptors 0, 1, and 2 after they have already been assigned to /dev/null when the descriptors reference procfs or linprocfs, which could allow local users to reuse the file descriptors in a setuid or setgid program to modify critical data and gain privileges.","publishedAt":"2002-08-02T04:00:00.000Z","updatedAt":"2024-08-08T03:03:49.368Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&frame=right&th=d429cd2ef1d3a2b7&seekm=ai6c0q%242289%241%40FreeBSD.csie.NCTU.edu.tw#link16","http://archives.neohapsis.com/archives/vulnwatch/2002-q3/0047.html","http://marc.info/?l=bugtraq&m=102979180524452&w=2"],"weaknesses":[],"ingestedAt":"2026-10-29T19:26:37.469Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2002/0xxx/CVE-2002-0820.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2002-0820","state":"PUBLISHED","datePublished":"2002-08-02T04:00:00.000Z","dateUpdated":"2024-08-08T03:03:49.368Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2002-08-01T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"FreeBSD kernel 4.6 and earlier closes the file descriptors 0, 1, and 2 after they have already been assigned to /dev/null when the descriptors reference procfs or linprocfs, which could allow local users to reuse the file descriptors in a setuid or setgid program to modify critical data and gain privileges."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&frame=right&th=d429cd2ef1d3a2b7&seekm=ai6c0q%242289%241%40FreeBSD.csie.NCTU.edu.tw#link16","tags":["x_refsource_MISC"]},{"url":"ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-02:23.stdio.asc","name":"FreeBSD-SA-02:23","tags":["vendor-advisory","x_refsource_FREEBSD"]},{"url":"http://archives.neohapsis.com/archives/vulnwatch/2002-q3/0047.html","name":"20020731 [VulnWatch] FreeBSD <=4.6 kernel problems, yet Linux and *BSD much better than Windows","tags":["mailing-list","x_refsource_VULNWATCH"]},{"url":"http://marc.info/?l=bugtraq&m=102979180524452&w=2","name":"20020819 Freebsd FD exploit","tags":["mailing-list","x_refsource_BUGTRAQ"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2016-10-17T13:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2002-07-31T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2002-0820","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":"FreeBSD kernel 4.6 and earlier closes the file descriptors 0, 1, and 2 after they have already been assigned to /dev/null when the descriptors reference procfs or linprocfs, which could allow local users to reuse the file descriptors in a setuid or setgid program to modify critical data and gain privileges."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&frame=right&th=d429cd2ef1d3a2b7&seekm=ai6c0q%242289%241%40FreeBSD.csie.NCTU.edu.tw#link16","refsource":"MISC","url":"http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&frame=right&th=d429cd2ef1d3a2b7&seekm=ai6c0q%242289%241%40FreeBSD.csie.NCTU.edu.tw#link16"},{"name":"FreeBSD-SA-02:23","refsource":"FREEBSD","url":"ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-02:23.stdio.asc"},{"name":"20020731 [VulnWatch] FreeBSD <=4.6 kernel problems, yet Linux and *BSD much better than Windows","refsource":"VULNWATCH","url":"http://archives.neohapsis.com/archives/vulnwatch/2002-q3/0047.html"},{"name":"20020819 Freebsd FD exploit","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=102979180524452&w=2"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&frame=right&th=d429cd2ef1d3a2b7&seekm=ai6c0q%242289%241%40FreeBSD.csie.NCTU.edu.tw#link16","tags":["x_refsource_MISC","x_transferred"]},{"url":"ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-02:23.stdio.asc","name":"FreeBSD-SA-02:23","tags":["vendor-advisory","x_refsource_FREEBSD","x_transferred"]},{"url":"http://archives.neohapsis.com/archives/vulnwatch/2002-q3/0047.html","name":"20020731 [VulnWatch] FreeBSD <=4.6 kernel problems, yet Linux and *BSD much better than Windows","tags":["mailing-list","x_refsource_VULNWATCH","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=102979180524452&w=2","name":"20020819 Freebsd FD exploit","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-08T03:03:49.368Z"}}]}}}