CVE-2022-1348

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:logrotate_project:logrotate:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*

History

No history.

Information

Published : 2022-05-25 16:15

Updated : 2023-11-07 03:41


NVD link : CVE-2022-1348

Mitre link : CVE-2022-1348

CVE.ORG link : CVE-2022-1348


JSON object : View

Products Affected

logrotate_project

  • logrotate

fedoraproject

  • fedora
CWE
CWE-732

Incorrect Permission Assignment for Critical Resource