# CVE-2022-1348

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-05-25 · Modified: 2025-06-09
- Aliases: ALPINE-CVE-2022-1348, MGASA-2022-0217, SUSE-SU-2022:2396-1, RHSA-2022:8393, UBUNTU-CVE-2022-1348, USN-5447-1, DEBIAN-CVE-2022-1348, openSUSE-SU-2024:12108-1
- Record: https://cvemate.com/vulnerability/CVE-2022-1348 · JSON: https://cvemate.com/vulnerability/CVE-2022-1348/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.677%, percentile 77.691%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine logrotate (Alpine Linux): ≥ 3.17.0, \< 3.18.0-r2 \| ≥ 3.17.0, \< 3.18.1-r2 \| ≥ 3.17.0, \< 3.19.0-r1 \| ≥ 3.17.0, \< 3.20.1-r0
- debian logrotate (Debian): \< 3.20.1-1
- ubuntu logrotate (Ubuntu): \< 3.19.0-1ubuntu1.1
- fedoraproject fedora: 35 \| 36
- logrotate\_project logrotate: ≥ 3.17.0, \< 3.20.0
- mageia logrotate (Mageia): \< 3.17.0-3.1.mga8
- opensuse logrotate&distro=openSUSE Leap 15.4 (openSUSE): \< 3.18.1-150400.3.7.1
- opensuse logrotate&distro=openSUSE Tumbleweed (openSUSE): \< 3.20.1-1.1
- redhat logrotate (Red Hat): \< 0:3.18.0-7.el9
- redhat logrotate-debuginfo (Red Hat): \< 0:3.18.0-7.el9
- redhat logrotate-debugsource (Red Hat): \< 0:3.18.0-7.el9
- suse logrotate&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4 (SUSE Linux Enterprise): \< 3.18.1-150400.3.7.1

## References (first 20 of 30)

- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348>
- <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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ/>
- <https://security.alpinelinux.org/vuln/CVE-2022-1348>
- <https://advisories.mageia.org/MGASA-2022-0217.html>
- <https://bugs.mageia.org/show_bug.cgi?id=30473>
- <https://www.openwall.com/lists/oss-security/2022/05/25/3>
- <https://www.openwall.com/lists/oss-security/2022/05/25/5>
- <https://ubuntu.com/security/notices/USN-5447-1>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222396-1/>
- <https://bugzilla.suse.com/1192449>
- <https://bugzilla.suse.com/1199652>
- <https://bugzilla.suse.com/1200278>
- <https://bugzilla.suse.com/1200802>
- <https://www.suse.com/security/cve/CVE-2022-1348>
- <https://access.redhat.com/errata/RHSA-2022:8393>
- <https://access.redhat.com/security/updates/classification/#moderate>

---

Data as of 2026-12-05T07:48:36.258Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
