1. Home
  2. Vulnerabilities
  3. CVE-2022-1348

CVE-2022-1348

A vulnerability was found in logrotate in how the state file is created. The state file is used to prevent…

Published 25 May 2022 · modified 17 Jun 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 45/100

Summary

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 products and versions

Fedoraproject (2 line(s))
Fedoraproject
ProductVersionsFixed inSource
Fedora 35 — NVD
Fedora 36 — NVD
Logrotate project (1 line(s))
Logrotate project
ProductVersionsFixed inSource
Logrotate from 3.17.0 (included) to 3.20.0 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-732 · Autre (CWE-732)

How this data is obtained and calculated