🛡️ CVE-2022-1348 on Debian — logrotate
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.
Distribution advisory
This page covers CVE-2022-1348 as tracked by Debian, for the package logrotate. The fix is available in version 3.20.1-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Weakness class
DEBIAN-CVE-2022-1348 is classified as CWE-732: Incorrect Permission Assignment for Critical Resource. A sensitive resource is assigned permissions that let unintended actors read or modify it.
Affected software
DEBIAN-CVE-2022-1348 is recorded against 1 package.
- logrotate (fixed in 3.20.1-1)
Timeline and source
Published on 25 May 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-1348 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| logrotate | — | 3.20.1-1 |
References
Similar Threats
- Unknown RHSA-2022:8393
- Unknown RHSA-2011:0407
- Unknown openSUSE-SU-2024:10231-1
- Unknown openSUSE-SU-2024:12108-1
- Unknown ALSA-2022:8393
Vulnerability Monitoring
Track new vulnerabilities in logrotate
DEBIAN-CVE-2022-1348 is rated CVSS 6.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.