Unrated severityNVD Advisory· Published May 25, 2022· Updated Jun 9, 2025
CVE-2022-1348
CVE-2022-1348
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
6- logrotate/logrotatedescription
- Range: <3.20.0
- osv-coords4 versionspkg:rpm/almalinux/logrotatepkg:rpm/opensuse/logrotate&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/logrotate&distro=openSUSE%20Tumbleweedpkg:rpm/suse/logrotate&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4
< 3.18.0-7.el9+ 3 more
- (no CPE)range: < 3.18.0-7.el9
- (no CPE)range: < 3.18.1-150400.3.7.1
- (no CPE)range: < 3.20.1-1.1
- (no CPE)range: < 3.18.1-150400.3.7.1
Patches
Vulnerability mechanics
References
6- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ/mitrevendor-advisoryx_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR/mitrevendor-advisoryx_refsource_FEDORA
- www.openwall.com/lists/oss-security/2022/05/25/3mitremailing-listx_refsource_MLIST
- www.openwall.com/lists/oss-security/2022/05/25/4mitremailing-listx_refsource_MLIST
- www.openwall.com/lists/oss-security/2022/05/25/5mitremailing-listx_refsource_MLIST
- bugzilla.redhat.com/show_bug.cgimitrex_refsource_MISC
News mentions
0No linked articles in our index yet.