CVE-2022-1348
6.5
MEDIUM
CVSS 3.1
EPSS 0.11%
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.
How to fix CVE-2022-1348
To remediate CVE-2022-1348, upgrade the affected package to a fixed version below.
- —upgrade to 3.18.0-r2 or later
- —upgrade to 3.18.0-2+deb11u1 or later
Is CVE-2022-1348 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 3.18.0-r2
- from 0, < 3.18.0-2+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |