CVE-2022-1348
Last modified
CVE-2022-1348 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 1.49% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Logrotate Project | Logrotate | >= 3.17.0, < 3.20.0 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
References
- http://www.openwall.com/lists/oss-security/2022/05/25/3Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/05/25/4Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/05/25/5Mailing List, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348Issue Tracking, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/05/25/3Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/05/25/4Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/05/25/5Mailing List, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-1348?
How severe is CVE-2022-1348?
How do I fix CVE-2022-1348?
Are you affected by CVE-2022-1348?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
