CVE-2022-1348Logrotate Project Logrotate
Medium 6.5
Follow: this CVE · Logrotate Project · Logrotate Project Logrotate We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- Yes
- Published
- May 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-732
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Logrotate.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| logrotate_project | logrotate | ≥ 3.17.0 < 3.20.0 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org