#VU63693 Incorrect default permissions in logrotate - CVE-2022-1348
Published: May 26, 2022
Vulnerability identifier: #VU63693
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-1348
CWE-ID: CWE-276
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
logrotate
logrotate
Software vendor:
logrotate
logrotate
Description
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to the way logrotate uses the state file. 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.
Remediation
Install updates from vendor's website.