ALPINE-CVE-2022-1348 PUBLISHED CVSS 6.5 MEDIUM

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.

Risk Scores

CVSS v3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersions
Alpine:v3.18logrotate3.7.9-r0, 3.17.0-r0, 3.16.0-r0
Alpine:v3.13logrotate3.9.1-r1, 3.9.1-r0, 3.8.8-r0
Alpine:v3.16logrotate3.7.9-r1, 3.10.0-r0, 3.11.0-r0
Alpine:v3.14logrotate3.15.0-r0, 3.9.2-r0, 3.9.1-r3
Alpine:v3.19logrotate3.19.0-r0, 3.7.8-r3, 3.8.8-r0
Alpine:v3.21logrotate3.7.8-r3, 3.10.0-r0, 3.11.0-r0
Alpine:v3.20logrotate0, 3.9.2-r0, 3.9.1-r3
Alpine:v3.22logrotate3.19.0-r0, 3.7.8-r1, 3.7.8-r0
Alpine:v3.23logrotate0, 3.9.2-r0, 3.9.1-r3
Alpine:v3.15logrotate3.10.0-r0, 3.11.0-r0, 3.12.2-r0
Alpine:v3.17logrotate0, 3.11.0-r0, 3.12.2-r0

Timeline

References

Open in Interactive Console →