CVE-2022-1348
- State
- Published
- Severity
- 6.5 Medium
- Published
- May 25, 2022
- Updated
- Jun 9, 2025
- Reserved
- Apr 13, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
logrotaten/a |
|
References
- 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 filemailing-list
- [oss-security] 20220525 Re: Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state filemailing-list
- [oss-security] 20220525 Re: Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state filemailing-list
- FEDORA-2022-87c0f05204vendor-advisory
- FEDORA-2022-ff0188b37cvendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.