{"id":"AZL-9845","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.","modified":"2026-04-01T05:23:45.648203Z","published":"2022-05-25T16:15:08Z","upstream":["CVE-2022-1348"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1348"}],"affected":[{"package":{"name":"logrotate","ecosystem":"Azure Linux:2","purl":"pkg:rpm/azure-linux/logrotate"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.20.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-9845.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}