Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2022-1348: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2022-1348: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file (Multiple Advisories)

Severity
4
CVSS
(AV:N/AC:L/Au:S/C:N/I:N/A:P)
Published
05/25/2022
Created
11/16/2022
Added
11/16/2022
Modified
12/15/2023

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.

Solution(s)

  • redhat-upgrade-logrotate
  • redhat-upgrade-logrotate-debuginfo
  • redhat-upgrade-logrotate-debugsource

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;