CVE-2022-1348: Fedoraproject Fedora
Medium severity, CVSS 6.5. EPSS: 1.7% chance of exploitation in the next 30 days.
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.
Affected products
- Fedoraproject Fedora: version 35 only; version 36 only
- Logrotate Project Logrotate: from 3.17.0, before 3.20.0 (fixed in 3.20.0)
Published 2022-05-25. Last modified 2026-06-17.