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.
References
Link | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348 | Issue Tracking Patch Third Party Advisory |
http://www.openwall.com/lists/oss-security/2022/05/25/3 | Mailing List Third Party Advisory |
http://www.openwall.com/lists/oss-security/2022/05/25/4 | Mailing List Third Party Advisory |
http://www.openwall.com/lists/oss-security/2022/05/25/5 | Mailing List Patch Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ/ | Mailing List Third Party Advisory |
Information
Published : 2022-05-25 09:15
Updated : 2022-10-19 05:46
NVD link : CVE-2022-1348
Mitre link : CVE-2022-1348
JSON object : View
CWE
CWE-732
Incorrect Permission Assignment for Critical Resource
Products Affected
logrotate_project
- logrotate
fedoraproject
- fedora