CVE-2022-1348
Logrotate Project Logrotate vulnerability
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.
Affected products
Logrotate, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Logrotate Project Logrotate runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.openwall.com/lists/oss-security/2022/05/25/5 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348 · Patch
- www.openwall.com/lists/oss-security/2022/05/25/3 · Third Party Advisory
- www.openwall.com/lists/oss-security/2022/05/25/4 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z
- nvd.nist.gov/vuln/detail/CVE-2022-1348
- cve.org/CVERecord?id=CVE-2022-1348
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.