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
Configurations
History
21 Nov 2024, 06:40
Type | Values Removed | Values Added |
---|---|---|
References | () http://www.openwall.com/lists/oss-security/2022/05/25/3 - Mailing List, Third Party Advisory | |
References | () http://www.openwall.com/lists/oss-security/2022/05/25/4 - Mailing List, Third Party Advisory | |
References | () http://www.openwall.com/lists/oss-security/2022/05/25/5 - Mailing List, Patch, Third Party Advisory | |
References | () https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348 - Issue Tracking, Patch, Third Party Advisory | |
References | () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ/ - | |
References | () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR/ - |
07 Nov 2023, 03:41
Type | Values Removed | Values Added |
---|---|---|
References |
|
|
Information
Published : 2022-05-25 16:15
Updated : 2024-11-21 06:40
NVD link : CVE-2022-1348
Mitre link : CVE-2022-1348
CVE.ORG link : CVE-2022-1348
JSON object : View
Products Affected
fedoraproject
- fedora
logrotate_project
- logrotate
CWE
CWE-732
Incorrect Permission Assignment for Critical Resource