UBUNTU-CVE-2022-1348

    Dashboard / Vulnerabilities / UBUNTU-CVE-2022-1348

    UBUNTU-CVE-2022-1348

    Published: 25 May 2022Last Modified: 4 Feb 2026
    Upstream:
    Aliases:

    Summary:

    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.

    Affected packages

    Package

    Name: logrotate

    Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=jammy

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.19.0-1ubuntu1.1

    Affected versions

    3.18.0-2ubuntu1
    3.18.0-2ubuntu2
    3.18.1-2ubuntu1

    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
    UBUNTU-CVE-2022-1348 | CVE-DB