NetSight
medium6.5

CVE-2022-1348

A vulnerability was found in logrotate in how the state file is created.

Impact

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

VendorProductAffected versions
Logrotate ProjectLogrotate
from 3.17.0 before 3.20.0
FedoraprojectFedora
Versions 35, 36

Weakness classification

References