CVE Catalog

CVE-2002-0820

High
Published: Translated: NVD NIST

Summary

FreeBSD kernel 4.6 and earlier closes file descriptors 0, 1, and 2 after they have been assigned to /dev/null when the descriptors reference procfs or linprocfs. This could allow local users to reuse the file descriptors in a setuid or setgid program to modify critical data and gain privileges.

Risk Assessment

Local users could exploit this vulnerability to gain unauthorized privileges, posing a serious threat to system and data integrity.

Recommendation

It is recommended to update the FreeBSD kernel to a version newer than 4.6 to mitigate this vulnerability and to monitor the use of setuid and setgid programs.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS