cbcvebase.
CVE-2022-1348
published 2022-05-25

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…

PriorityP434medium6.5CVSS 3.1
AVNACLPRLUINSUCNINAH
EPSS
1.49%
71.2th percentile
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.

Affected

15 ranges
VendorProductVersion rangeFixed in
debianlogrotate< logrotate 3.20.1-1 (bookworm)logrotate 3.20.1-1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
logrotate_projectlogrotate
logrotate_projectlogrotate>= 0 < 3.18.0-2+deb11u13.18.0-2+deb11u1
logrotate_projectlogrotate>= 0 < 3.20.1-13.20.1-1
logrotate_projectlogrotate>= 0 < 3.20.1-13.20.1-1
logrotate_projectlogrotate>= 0 < 3.20.1-13.20.1-1
logrotate_projectlogrotate>= 3.17.0 < 3.20.03.20.0
msrccbl2_logrotate_3.20.1-1_on_cbl_mariner_2.0
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
msrccm1_logrotate_3.20.0-1_on_cbl_mariner_1.0

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_msrc6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.