CVE-2022-1348CWE-732

A vulnerability was found in logrotate in how the state file is created

Medium · published May 25, 2022

CVSS v3.1
6.5
EPSS
2%
Percentile
76.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01677 · 76.7th percentile
Weakness
CWE-732 · Incorrect Permission Assignment for Critical Resource
Published
2022-05-25T15:13Z
EPSS history
Timeline
  • 25 MAY 15:13Z
    A vulnerability was found in logrotate in how the state file is created
    cvelistv5