Title: Multiple Vendor BSD Semaphore IPC Denial Of Service Vulnerability
Severity: LOW
Description:
386BSD-derived OSes' implementation of SysV semaphores is vulnerable to a locally exploitable denial of service attack. There exists an undocumented system call, semconfig(), which freezes the state of all semaphores on the system. Normally, this is used to generate a "snapshot" of their states but can be exploited so that all processes using semaphores cannot progress. The end result is that a local user with no special priviliges can freeze operations in processes utilizing semaphores.
From the NetBSD Advisory: "FreeBSD-SA-00:19 describes a similar, but significantly more severe problem affecting FreeBSD, and notes that NetBSD is also affected. The impact of the problem on NetBSD is much less, because NetBSD's semaphore implementation was fixed (in 1994) so that only semaphore-using processes would be blocked at exit time. "
OpenBSD (post 1994) applied the same patch as NetBSD and thus is significantly less affected than FreeBSD.
Affected Products:
- FreeBSD FreeBSD 1.1.5 .1
- FreeBSD FreeBSD 2.0.0
- FreeBSD FreeBSD 2.0.5
- FreeBSD FreeBSD 2.1.0
- FreeBSD FreeBSD 2.1.5
- FreeBSD FreeBSD 2.1.6
- FreeBSD FreeBSD 2.1.6 .1
- FreeBSD FreeBSD 2.1.7 .1
- FreeBSD FreeBSD 2.2.0
- FreeBSD FreeBSD 2.2.2
- FreeBSD FreeBSD 2.2.3
- FreeBSD FreeBSD 2.2.4
- FreeBSD FreeBSD 2.2.5
- FreeBSD FreeBSD 2.2.6
- FreeBSD FreeBSD 2.2.8
- FreeBSD FreeBSD 3.0.0
- FreeBSD FreeBSD 3.1.0
- FreeBSD FreeBSD 3.2.0
- FreeBSD FreeBSD 3.3.0
- FreeBSD FreeBSD 3.4.0
- FreeBSD FreeBSD 4.0.0
- FreeBSD FreeBSD 4.0.0 alpha
- FreeBSD FreeBSD 5.0.0
- FreeBSD FreeBSD 5.0.0 alpha
- NetBSD NetBSD 1.4.1 Alpha
- NetBSD NetBSD 1.4.1 SPARC
- NetBSD NetBSD 1.4.1 arm32
- NetBSD NetBSD 1.4.2 Alpha
- NetBSD NetBSD 1.4.2 SPARC
- NetBSD NetBSD 1.4.2 arm32
- NetBSD NetBSD 1.4.2 x86
- OpenBSD OpenBSD 2.0.0
- OpenBSD OpenBSD 2.1.0
- OpenBSD OpenBSD 2.2.0
- OpenBSD OpenBSD 2.3.0
- OpenBSD OpenBSD 2.4.0
- OpenBSD OpenBSD 2.5.0
- OpenBSD OpenBSD 2.6.0
References:
- NetBSD: NetBSD Security Page
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.