Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-9845.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-9845
Upstream
Published
2022-05-25T16:15:08Z
Modified
2026-04-01T05:23:45.648203Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
CVE-2022-1348 affecting package logrotate for versions less than 3.20.1-1
Details

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.

References

Affected packages

Azure Linux:2 / logrotate

Package

Name
logrotate
Purl
pkg:rpm/azure-linux/logrotate

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.20.1-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-9845.json"