Advisories ยป MGASA-2022-0217

Updated logrotate packages fix security vulnerability

Publication date: 03 Jun 2022
Modification date: 03 Jun 2022
Type: security
Affected Mageia releases : 8
CVE: 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. (CVE-2022-1348)
Note the change in permission does not apply until the first time logrotate
runs after installing the update.
                

References

SRPMS

8/core