MGASA-2022-0217

    Dashboard / Vulnerabilities / MGASA-2022-0217

    MGASA-2022-0217

    Published: 3 Jun 2022Last Modified: 16 Apr 2026
    Upstream:

    Summary: Updated logrotate packages fix security vulnerability

    Details: 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.

    Affected packages

    Package

    Name: logrotate

    Purl: pkg:rpm/mageia/logrotate?arch=source&distro=mageia-8

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.17.0-3.1.mga8

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    MGASA-2022-0217 | CVE-DB