Vulnerability record · OpenEuler 22.03-LTS
An update for logrotate is now available for openEuler-22.03-LTS.
OpenEuler 22.03-LTS
What it fixes
Synopsis:
logrotate security updateSummary:
An update for logrotate is now available for openEuler-22.03-LTS.Description:
The logrotate utility is designed to simplify the administration of log files on a system which generates a lot of log files. Logrotate allows for the automatic rotation compression, removal and mailing of log files.logrotate Logrotate can be set to handle a log file daily, weekly, monthly or when the log file gets to a certain size.
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)Topic:
An update for logrotate is now available for openEuler-22.03-LTS.
openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
MediumAffected Component:
logrotate
Manual fix · OpenEuler 22.03-LTS
sudo dnf upgrade logrotate logrotate-helprpm -q logrotate logrotate-helpSources