CVE-2022-1348

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.5 MEDIUM
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
redhatCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 24%
VendorProductVersion
logrotate_projectlogrotate
3.17.0 ≤
𝑥
< 3.20.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
logrotate
bullseye
3.18.0-2+deb11u2
fixed
buster
not-affected
stretch
not-affected
bookworm
3.21.0-1
fixed
sid
3.22.0-1
fixed
trixie
3.22.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
logrotate
lunar
not-affected
kinetic
Fixed 3.20.1-1ubuntu1
released
jammy
Fixed 3.19.0-1ubuntu1.1
released
impish
Fixed 3.18.0-2ubuntu1.1
released
focal
not-affected
bionic
not-affected
xenial
not-affected
trusty
not-affected