{"id":"CVE-2022-1348","published":"2022-05-25T15:13:39Z","modified":"2025-06-09T14:55:12Z","title":"A vulnerability was found in logrotate in how the state file is created","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01677,"percentile":0.77462,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/05/25/3","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2022/05/25/4","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2022/05/25/5","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":20.0,"factors":[{"name":"EPSS percentile","points":15.49},{"name":"CVSS severity","points":4.55}]},"affectedVersions":[{"vendor":"n/a","product":"logrotate","versions":["logrotate versions before 3.20.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-09T14:54:10.405227Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-24670","exploited":false,"provenance":"source"}}