Technical impact
Net::Server::PreFork versions 2.018 and earlier permit a local user to lock a shared lock_file that the server’s child processes use for synchronizing accept calls. The lock_file is created with default permissions that allow other users to read and write it, and the flock operation only requires a read‑only handle, so the user can grab the lock and prevent the server from ever accepting new connections. The immediate result is a denial of service against all clients connecting to the server; all child processes block on the lock and no further connections are accepted until the lock is released. Because the effect is local, the attacker cannot gain network access or execute arbitrary code, but the service becomes unusable. This flaw corresponds to a concurrency/lock misuse weakness (CWE‑412), highlighting improper synchronization and permission handling in the server’s design.
Affected Systems
Any installation of the Perl Net::Server::PreFork or PreForkSimple modules, version 2.018 or below, that configures a lock_file path that is readable or writable by other local users is vulnerable. Systems running these modules on UNIX‑like operating systems (excluding Windows, which uses a different locking mechanism) are susceptible because the children rely on flock with a shared read lock. Administrators of services such as web servers, database proxies, or other multi‑process Perl applications that rely on Net::Server for concurrency should verify the lock_file setting and module version.
Risk and Exploitability
The vulnerability can be exploited only by users with local filesystem access to the server’s runtime environment. No network privileges or elevated rights are required beyond standard write permission on the lock_file location. Given that a malicious local user can readily acquire the lock and sustain the denial of service, the practicality of the attack is high for environments where local users are granted write access to the lock_file directory, making the risk notable for service integrity. No public exploitation reports or KEV designation exist, and the EPSS score is not available, so the overall globally reported risk remains moderate, but the local denial of service can be significant in production deployments.