GHSA-4c4j-w8hm-rjgv
Record from GitHub Advisory Database · Published May 26, 2022
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.
Risk scores
Timeline
- May 26, 2022 CVE Published
- Apr 9, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-4c4j-w8hm-rjgv
vulnetix vdb fixes GHSA-4c4j-w8hm-rjgv
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-4c4j-w8hm-rjgv/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR url
- https://nvd.nist.gov/vuln/detail/CVE-2022-1348 advisory
- http://www.openwall.com/lists/oss-security/2022/05/25/3 url
- http://www.openwall.com/lists/oss-security/2022/05/25/4 url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR url
- http://www.openwall.com/lists/oss-security/2022/05/25/5 url