CVE-2022-1348
MEDIUM6.5EPSS 0.11%Published: 5/25/2022Modified: 12/3/2025
Also known as:ALPINE-CVE-2022-1348
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.
Affected packages (2)
- Alpine/logrotatefrom 0, < 3.18.0-r2
- Debian/logrotatefrom 0, < 3.18.0-2+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |