{"api_version":"1","generated_at":"2026-04-23T06:19:55+00:00","cve":"CVE-2022-1348","urls":{"html":"https://cve.report/CVE-2022-1348","api":"https://cve.report/api/cve/CVE-2022-1348.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-1348","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-1348"},"summary":{"title":"CVE-2022-1348","description":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-05-25 16:15:00","updated_at":"2023-11-07 03:41:00"},"problem_types":["CWE-732"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR/","name":"FEDORA-2022-87c0f05204","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: logrotate-3.20.1-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2022/05/25/3","name":"[oss-security] 20220525 Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file","refsource":"MLIST","tags":[],"title":"oss-security - Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ/","name":"FEDORA-2022-ff0188b37c","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: logrotate-3.18.1-4.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2022/05/25/4","name":"[oss-security] 20220525 Re: Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file","refsource":"MLIST","tags":[],"title":"oss-security - Re: Re: CVE-2022-1348 logrotate: potential DoS from\n unprivileged users via the state file","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348","refsource":"MISC","tags":[],"title":"2075074 – (CVE-2022-1348) CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ/","name":"FEDORA-2022-ff0188b37c","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: logrotate-3.18.1-4.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2022/05/25/5","name":"[oss-security] 20220525 Re: Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file","refsource":"MLIST","tags":[],"title":"oss-security - Re: Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR/","name":"FEDORA-2022-87c0f05204","refsource":"","tags":[],"title":"[SECURITY] Fedora 36 Update: logrotate-3.20.1-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-1348","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1348","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"1348","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"1348","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"1348","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"logrotate_project","cpe5":"logrotate","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-1348","qid":"160315","title":"Oracle Enterprise Linux Security Update for logrotate (ELSA-2022-8393)"},{"cve":"CVE-2022-1348","qid":"180854","title":"Debian Security Update for logrotate (CVE-2022-1348)"},{"cve":"CVE-2022-1348","qid":"198807","title":"Ubuntu Security Notification for logrotate Vulnerability (USN-5447-1)"},{"cve":"CVE-2022-1348","qid":"240895","title":"Red Hat Update for logrotate (RHSA-2022:8393)"},{"cve":"CVE-2022-1348","qid":"282774","title":"Fedora Security Update for logrotate (FEDORA-2022-87c0f05204)"},{"cve":"CVE-2022-1348","qid":"282816","title":"Fedora Security Update for logrotate (FEDORA-2022-ff0188b37c)"},{"cve":"CVE-2022-1348","qid":"296086","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 51.132.1 Missing (CPUOCT2022)"},{"cve":"CVE-2022-1348","qid":"354288","title":"Amazon Linux Security Advisory for logrotate : ALAS2022-2022-095"},{"cve":"CVE-2022-1348","qid":"354373","title":"Amazon Linux Security Advisory for logrotate : ALAS2022-2022-084"},{"cve":"CVE-2022-1348","qid":"354465","title":"Amazon Linux Security Advisory for logrotate : ALAS2022-2022-189"},{"cve":"CVE-2022-1348","qid":"501428","title":"Alpine Linux Security Update for logrotate"},{"cve":"CVE-2022-1348","qid":"501750","title":"Alpine Linux Security Update for logrotate"},{"cve":"CVE-2022-1348","qid":"502223","title":"Alpine Linux Security Update for logrotate"},{"cve":"CVE-2022-1348","qid":"502744","title":"Alpine Linux Security Update for logrotate"},{"cve":"CVE-2022-1348","qid":"752352","title":"SUSE Enterprise Linux Security Update for logrotate (SUSE-SU-2022:2396-1)"},{"cve":"CVE-2022-1348","qid":"902135","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for logrotate (9842)"},{"cve":"CVE-2022-1348","qid":"902143","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for logrotate (9845)"},{"cve":"CVE-2022-1348","qid":"902263","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for logrotate (9845-1)"},{"cve":"CVE-2022-1348","qid":"902491","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for logrotate (9842-1)"},{"cve":"CVE-2022-1348","qid":"940796","title":"AlmaLinux Security Update for logrotate (ALSA-2022:8393)"},{"cve":"CVE-2022-1348","qid":"960619","title":"Rocky Linux Security Update for logrotate (RLSA-2022:8393)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2022-1348","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"logrotate","version":{"version_data":[{"version_value":"logrotate versions before 3.20.0"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-732"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348"},{"refsource":"MLIST","name":"[oss-security] 20220525 Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file","url":"http://www.openwall.com/lists/oss-security/2022/05/25/3"},{"refsource":"MLIST","name":"[oss-security] 20220525 Re: Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file","url":"http://www.openwall.com/lists/oss-security/2022/05/25/4"},{"refsource":"MLIST","name":"[oss-security] 20220525 Re: Re: CVE-2022-1348 logrotate: potential DoS from unprivileged users via the state file","url":"http://www.openwall.com/lists/oss-security/2022/05/25/5"},{"refsource":"FEDORA","name":"FEDORA-2022-87c0f05204","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR/"},{"refsource":"FEDORA","name":"FEDORA-2022-ff0188b37c","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ/"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2022-05-25 16:15:00","lastModifiedDate":"2023-11-07 03:41:00","problem_types":["CWE-732"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:logrotate_project:logrotate:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17.0","versionEndExcluding":"3.20.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}