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.

Risk Information

Base Score
6.5
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Score
Exploitation Probability
0.11

Associated Vulnerability

VulnerabilityOS Platform
Log rotation utility (USN-5447-1) logrotate_3.18.0-2ubuntu1.1_amd64.debLinux
Log rotation utility (USN-5447-1) logrotate_3.19.0-1ubuntu1.1_amd64.debLinux
(RHSA-2022:8393) logrotate security update logrotate-3.18.0-7.el9.x86_64.rpmLinux
(RHSA-2022:8393) logrotate security update logrotate-debugsource-3.18.0-7.el9.x86_64.rpmLinux
logrotate security update (RLSA-2022:8393) logrotate-3.18.0-7.el9.x86_64.rpmLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234