VULNERABILITY INTELLIGENCE

CVE-2022-1348

CVSS score6.5 MEDIUM
EPSS probability1.68%
CISA KEVNot currently listed
Published2022-05-25
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Weakness classification

  • secalert@redhat.com: CWE-732
  • nvd@nist.gov: CWE-732
  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-732

Primary references