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.
Published: 2022-05-25
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2022-24670 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.
Ubuntu USN Ubuntu USN USN-5447-1 logrotate vulnerability
History

Mon, 09 Jun 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

Fedoraproject Fedora
Logrotate Project Logrotate
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2025-06-09T14:55:12.017Z

Reserved: 2022-04-13T00:00:00.000Z

Link: CVE-2022-1348

cve-icon Vulnrichment

Updated: 2024-08-03T00:03:05.887Z

cve-icon NVD

Status : Modified

Published: 2022-05-25T16:15:08.150

Modified: 2025-06-09T15:15:26.943

Link: CVE-2022-1348

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-05-25T00:00:00Z

Links: CVE-2022-1348 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses