Vulnerability CVE-2022-1348: Information
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.
Severity: MEDIUM (6.5) Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
---|---|---|---|---|---|---|
logrotate | sisyphus | 3.20.1-alt1 | 3.20.1-alt2 | ALT-PU-2022-1955-1 | 300834 | Fixed |
logrotate | sisyphus_e2k | 3.20.1-alt1 | 3.20.1-alt2 | ALT-PU-2022-5450-1 | - | Fixed |
logrotate | sisyphus_riscv64 | 3.20.1-alt1 | 3.20.1-alt2 | ALT-PU-2022-5090-1 | - | Fixed |
logrotate | p10 | 3.20.1-alt2 | 3.20.1-alt2 | ALT-PU-2023-1925-1 | 321948 | Fixed |
logrotate | p10_e2k | 3.20.1-alt2 | 3.20.1-alt2 | ALT-PU-2023-3802-1 | - | Fixed |
References to Advisories, Solutions, and Tools
Hyperlink | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348 |
|
[oss-security] 20220525 Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file |
|
[oss-security] 20220525 Re: Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file |
|
[oss-security] 20220525 Re: Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file |
|
FEDORA-2022-87c0f05204 | |
FEDORA-2022-ff0188b37c |