{"id":"MGASA-2022-0217","summary":"Updated logrotate packages fix security vulnerability","details":"A vulnerability was found in logrotate in how the state file is created.\nThe state file is used to prevent parallel executions of multiple instances\nof logrotate by acquiring and releasing a file lock. When the state file\ndoes not exist, it is created with world-readable permission, allowing an\nunprivileged user to lock the state file, stopping any rotation. This flaw\naffects logrotate versions before 3.20.0. (CVE-2022-1348)\nNote the change in permission does not apply until the first time logrotate\nruns after installing the update.\n","modified":"2026-04-16T04:42:14.113113840Z","published":"2022-06-03T17:15:11Z","upstream":["CVE-2022-1348"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2022-0217.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=30473"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2022/05/25/3"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2022/05/25/5"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5447-1"}],"affected":[{"package":{"name":"logrotate","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/logrotate?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.17.0-3.1.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2022-0217.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}