CVE-2022-1348
Published: August 31, 2023Last modified: August 31, 2023
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 score breakdown
| Parameter | Value |
|---|---|
| Base score | 6.5 |
| Attack Vector | NETWORK |
| Attack complexity | LOW |
| Privileges required | LOW |
| User interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality | NONE |
| Integrity impact | NONE |
| Availability impact | HIGH |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Status
| Product | Release | Package | Status |
|---|---|---|---|
| Alpaquita Linux | 23 LTS | logrotate | Not affected (3.20.1-r3) |
| Stream | logrotate | Not affected (3.21.0-r1) |
References
- http://www.openwall.com/lists/oss-security/2022/05/25/3
- http://www.openwall.com/lists/oss-security/2022/05/25/4
- http://www.openwall.com/lists/oss-security/2022/05/25/5
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR/