CVE Vulnerabilities

CVE-2002-1915

Improper Locking

Published: Dec 31, 2002 | Modified: Feb 08, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
2.1 LOW
AV:L/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

tip on multiple BSD-based operating systems allows local users to cause a denial of service (execution prevention) by using flock() to lock the /var/log/acculog file.

Weakness

The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.

Affected Software

Name Vendor Start Version End Version
Freebsd Freebsd 3.5 (including) 3.5 (including)
Freebsd Freebsd 3.5.1 (including) 3.5.1 (including)
Freebsd Freebsd 4.0 (including) 4.0 (including)
Freebsd Freebsd 4.1 (including) 4.1 (including)
Freebsd Freebsd 4.1.1 (including) 4.1.1 (including)
Freebsd Freebsd 4.2 (including) 4.2 (including)
Freebsd Freebsd 4.3 (including) 4.3 (including)
Freebsd Freebsd 4.4 (including) 4.4 (including)
Freebsd Freebsd 4.5 (including) 4.5 (including)
Freebsd Freebsd 4.6 (including) 4.6 (including)
Freebsd Freebsd 5.0 (including) 5.0 (including)
Netbsd Netbsd 1.0 (including) 1.0 (including)
Netbsd Netbsd 1.1 (including) 1.1 (including)
Netbsd Netbsd 1.2 (including) 1.2 (including)
Netbsd Netbsd 1.2.1 (including) 1.2.1 (including)
Netbsd Netbsd 1.3 (including) 1.3 (including)
Netbsd Netbsd 1.3.1 (including) 1.3.1 (including)
Netbsd Netbsd 1.3.2 (including) 1.3.2 (including)
Netbsd Netbsd 1.3.3 (including) 1.3.3 (including)
Netbsd Netbsd 1.4 (including) 1.4 (including)
Netbsd Netbsd 1.4.1 (including) 1.4.1 (including)
Netbsd Netbsd 1.4.2 (including) 1.4.2 (including)
Netbsd Netbsd 1.4.3 (including) 1.4.3 (including)
Netbsd Netbsd 1.5 (including) 1.5 (including)
Netbsd Netbsd 1.5.1 (including) 1.5.1 (including)
Netbsd Netbsd 1.5.2 (including) 1.5.2 (including)
Openbsd Openbsd 2.0 (including) 2.0 (including)
Openbsd Openbsd 2.1 (including) 2.1 (including)
Openbsd Openbsd 2.2 (including) 2.2 (including)
Openbsd Openbsd 2.3 (including) 2.3 (including)
Openbsd Openbsd 2.4 (including) 2.4 (including)
Openbsd Openbsd 2.5 (including) 2.5 (including)
Openbsd Openbsd 2.6 (including) 2.6 (including)
Openbsd Openbsd 2.7 (including) 2.7 (including)
Openbsd Openbsd 2.8 (including) 2.8 (including)
Openbsd Openbsd 2.9 (including) 2.9 (including)
Openbsd Openbsd 3.0 (including) 3.0 (including)
Openbsd Openbsd 3.1 (including) 3.1 (including)

Extended Description

Locking is a type of synchronization behavior that ensures that multiple independently-operating processes or threads do not interfere with each other when accessing the same resource. All processes/threads are expected to follow the same steps for locking. If these steps are not followed precisely - or if no locking is done at all - then another process/thread could modify the shared resource in a way that is not visible or predictable to the original process. This can lead to data or memory corruption, denial of service, etc.

Potential Mitigations

References