CVE-2022-1348Published May 25, 2022 · May 25Updated Oct 28
logrotate in how the state file: unprivileged user to lock the state file
logrotate
Medium6.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| logrotate |
| No fix yet |
Original description
A vulnerability was found in logrotate in how the state file is created. The state file is used to prevent parallel executions of multiple instances of logrotate by acquiring and releasing a file lock. When the state file does not exist, it is created with world-readable permission, allowing an unprivileged user to lock the state file, stopping any rotation. This flaw affects logrotate versions before 3.20.0.
From the CVE record · redhat