Vulnerability in Logrotate Project
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.017, 77.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Logrotate Project
- Fedoraproject Fedora — versions 35, 36
- Logrotate — versions logrotate versions before 3.20.0
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- [oss-security] 20220525 Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20220525 Re: Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20220525 Re: Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file (mailing-list, Patch, Mailing List, Third Party Advisory)
- FEDORA-2022-87c0f05204 (vendor-advisory)
- FEDORA-2022-ff0188b37c (vendor-advisory)