Description
Net::Server::PreFork versions through 2.018 for Perl let local users stop the server accepting connections by locking a lock_file that other users can read.
With lock_file set, each PreFork and PreForkSimple child opens the file for writing with default permissions, mode 0666 less the umask, which is usually readable by other users. Outside Windows the children serialize accept with an exclusive flock on that file, and flock needs only a read-only handle.
A local user who can open the file and hold the lock keeps every child from accepting connections for as long as they hold it. A server without lock_file uses a temporary lock file with mode 0600 and is not affected.
With lock_file set, each PreFork and PreForkSimple child opens the file for writing with default permissions, mode 0666 less the umask, which is usually readable by other users. Outside Windows the children serialize accept with an exclusive flock on that file, and flock needs only a read-only handle.
A local user who can open the file and hold the lock keeps every child from accepting connections for as long as they hold it. A server without lock_file uses a temporary lock file with mode 0600 and is not affected.
Published:
2026-11-29
Score:
n/a
EPSS:
n/a
KEV:
No
Impact:
n/a
Action:
n/a
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
Vendor Workaround
No fixed release is available. Apply the patch. For deployments that cannot apply the patch, leave lock_file unset, or place it in a directory that other local users cannot access.
Tracking
Sign in to view the affected projects.
Advisories
No advisories yet.
References
History
Sun, 29 Nov 2026 23:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Net::Server::PreFork versions through 2.018 for Perl let local users stop the server accepting connections by locking a lock_file that other users can read. With lock_file set, each PreFork and PreForkSimple child opens the file for writing with default permissions, mode 0666 less the umask, which is usually readable by other users. Outside Windows the children serialize accept with an exclusive flock on that file, and flock needs only a read-only handle. A local user who can open the file and hold the lock keeps every child from accepting connections for as long as they hold it. A server without lock_file uses a temporary lock file with mode 0600 and is not affected. | |
| Title | Net::Server::PreFork versions through 2.018 for Perl let local users stop the server accepting connections by locking a lock_file that other users can read | |
| Weaknesses | CWE-412 | |
| References |
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-11-29T23:34:13.387Z
Reserved: 2026-11-07T12:01:12.035Z
Link: CVE-2026-124305
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses
-
CWE-412
Unrestricted Externally Accessible Lock