Lucene search

K
cvelistRedhatCVELIST:CVE-2022-1348
HistoryMay 25, 2022 - 3:13 p.m.

CVE-2022-1348

2022-05-2515:13:39
CWE-732
redhat
www.cve.org
3
vulnerability
logrotate
state file
permission
unprivileged user
rotation
version 3.20.0

AI Score

6.6

Confidence

High

EPSS

0.001

Percentile

44.4%

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.

CNA Affected

[
  {
    "product": "logrotate",
    "vendor": "n/a",
    "versions": [
      {
        "status": "affected",
        "version": "logrotate versions before 3.20.0"
      }
    ]
  }
]