{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_security_advisory","csaf_version":"2.0","distribution":{"text":"Copyright 2023 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"Security update for logrotate","title":"Title of the patch"},{"category":"description","text":"This update for logrotate fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2022-1348: Fixed insecure permissions for state file creation (bsc#1199652).\n- Improved coredump handing for SUID binaries (bsc#1192449).\n\nNon-security issues fixed:\n\n- Fixed 'logrotate emits unintended warning: keyword size not properly separated, found 0x3d' (bsc#1200278, bsc#1200802).\n","title":"Description of the patch"},{"category":"details","text":"SUSE-2022-2396,SUSE-SLE-Module-Basesystem-15-SP4-2022-2396,openSUSE-SLE-15.4-2022-2396","title":"Patchnames"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"self","summary":"URL for SUSE-SU-2022:2396-1","url":"https://www.suse.com/support/update/announcement/2022/suse-su-20222396-1/"},{"category":"external","summary":"SUSE ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"self","summary":"URL of this CSAF notice","url":"https://ftp.suse.com/pub/projects/security/csaf/suse-su-2022_2396-1.json"},{"category":"self","summary":"E-Mail link for SUSE-SU-2022:2396-1","url":"https://lists.suse.com/pipermail/sle-security-updates/2022-July/011547.html"},{"category":"self","summary":"SUSE Bug 1192449","url":"https://bugzilla.suse.com/1192449"},{"category":"self","summary":"SUSE Bug 1199652","url":"https://bugzilla.suse.com/1199652"},{"category":"self","summary":"SUSE Bug 1200278","url":"https://bugzilla.suse.com/1200278"},{"category":"self","summary":"SUSE Bug 1200802","url":"https://bugzilla.suse.com/1200802"},{"category":"self","summary":"SUSE CVE CVE-2022-1348 page","url":"https://www.suse.com/security/cve/CVE-2022-1348/"}],"title":"Security update for logrotate","tracking":{"current_release_date":"2022-07-14T09:58:05Z","generator":{"date":"2022-07-14T09:58:05Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"SUSE-SU-2022:2396-1","initial_release_date":"2022-07-14T09:58:05Z","revision_history":[{"date":"2022-07-14T09:58:05Z","number":"1","summary":"Current version"}],"status":"final","version":"1"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_version","name":"logrotate-3.18.1-150400.3.7.1.aarch64","product":{"name":"logrotate-3.18.1-150400.3.7.1.aarch64","product_id":"logrotate-3.18.1-150400.3.7.1.aarch64"}}],"category":"architecture","name":"aarch64"},{"branches":[{"category":"product_version","name":"logrotate-3.18.1-150400.3.7.1.i586","product":{"name":"logrotate-3.18.1-150400.3.7.1.i586","product_id":"logrotate-3.18.1-150400.3.7.1.i586"}}],"category":"architecture","name":"i586"},{"branches":[{"category":"product_version","name":"logrotate-3.18.1-150400.3.7.1.ppc64le","product":{"name":"logrotate-3.18.1-150400.3.7.1.ppc64le","product_id":"logrotate-3.18.1-150400.3.7.1.ppc64le"}}],"category":"architecture","name":"ppc64le"},{"branches":[{"category":"product_version","name":"logrotate-3.18.1-150400.3.7.1.s390x","product":{"name":"logrotate-3.18.1-150400.3.7.1.s390x","product_id":"logrotate-3.18.1-150400.3.7.1.s390x"}}],"category":"architecture","name":"s390x"},{"branches":[{"category":"product_version","name":"logrotate-3.18.1-150400.3.7.1.x86_64","product":{"name":"logrotate-3.18.1-150400.3.7.1.x86_64","product_id":"logrotate-3.18.1-150400.3.7.1.x86_64"}}],"category":"architecture","name":"x86_64"},{"branches":[{"category":"product_name","name":"SUSE Linux Enterprise Module for Basesystem 15 SP4","product":{"name":"SUSE Linux Enterprise Module for Basesystem 15 SP4","product_id":"SUSE Linux Enterprise Module for Basesystem 15 SP4","product_identification_helper":{"cpe":"cpe:/o:suse:sle-module-basesystem:15:sp4"}}},{"category":"product_name","name":"openSUSE Leap 15.4","product":{"name":"openSUSE Leap 15.4","product_id":"openSUSE Leap 15.4","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.4"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"logrotate-3.18.1-150400.3.7.1.aarch64 as component of SUSE Linux Enterprise Module for Basesystem 15 SP4","product_id":"SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.aarch64"},"product_reference":"logrotate-3.18.1-150400.3.7.1.aarch64","relates_to_product_reference":"SUSE Linux Enterprise Module for Basesystem 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"logrotate-3.18.1-150400.3.7.1.ppc64le as component of SUSE Linux Enterprise Module for Basesystem 15 SP4","product_id":"SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.ppc64le"},"product_reference":"logrotate-3.18.1-150400.3.7.1.ppc64le","relates_to_product_reference":"SUSE Linux Enterprise Module for Basesystem 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"logrotate-3.18.1-150400.3.7.1.s390x as component of SUSE Linux Enterprise Module for Basesystem 15 SP4","product_id":"SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.s390x"},"product_reference":"logrotate-3.18.1-150400.3.7.1.s390x","relates_to_product_reference":"SUSE Linux Enterprise Module for Basesystem 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"logrotate-3.18.1-150400.3.7.1.x86_64 as component of SUSE Linux Enterprise Module for Basesystem 15 SP4","product_id":"SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.x86_64"},"product_reference":"logrotate-3.18.1-150400.3.7.1.x86_64","relates_to_product_reference":"SUSE Linux Enterprise Module for Basesystem 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"logrotate-3.18.1-150400.3.7.1.aarch64 as component of openSUSE Leap 15.4","product_id":"openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.aarch64"},"product_reference":"logrotate-3.18.1-150400.3.7.1.aarch64","relates_to_product_reference":"openSUSE Leap 15.4"},{"category":"default_component_of","full_product_name":{"name":"logrotate-3.18.1-150400.3.7.1.ppc64le as component of openSUSE Leap 15.4","product_id":"openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.ppc64le"},"product_reference":"logrotate-3.18.1-150400.3.7.1.ppc64le","relates_to_product_reference":"openSUSE Leap 15.4"},{"category":"default_component_of","full_product_name":{"name":"logrotate-3.18.1-150400.3.7.1.s390x as component of openSUSE Leap 15.4","product_id":"openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.s390x"},"product_reference":"logrotate-3.18.1-150400.3.7.1.s390x","relates_to_product_reference":"openSUSE Leap 15.4"},{"category":"default_component_of","full_product_name":{"name":"logrotate-3.18.1-150400.3.7.1.x86_64 as component of openSUSE Leap 15.4","product_id":"openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.x86_64"},"product_reference":"logrotate-3.18.1-150400.3.7.1.x86_64","relates_to_product_reference":"openSUSE Leap 15.4"}]},"vulnerabilities":[{"cve":"CVE-2022-1348","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2022-1348"}],"notes":[{"category":"general","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.","title":"Vulnerability description"}],"product_status":{"fixed":["SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.aarch64","SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.ppc64le","SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.s390x","SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.x86_64","openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.aarch64","openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.ppc64le","openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.s390x","openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.x86_64"]},"references":[{"category":"external","summary":"CVE-2022-1348","url":"https://www.suse.com/security/cve/CVE-2022-1348"},{"category":"external","summary":"SUSE Bug 1199652 for CVE-2022-1348","url":"https://bugzilla.suse.com/1199652"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.aarch64","SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.ppc64le","SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.s390x","SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.x86_64","openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.aarch64","openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.ppc64le","openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.s390x","openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.x86_64"]}],"scores":[{"cvss_v3":{"baseScore":5.1,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","version":"3.1"},"products":["SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.aarch64","SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.ppc64le","SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.s390x","SUSE Linux Enterprise Module for Basesystem 15 SP4:logrotate-3.18.1-150400.3.7.1.x86_64","openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.aarch64","openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.ppc64le","openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.s390x","openSUSE Leap 15.4:logrotate-3.18.1-150400.3.7.1.x86_64"]}],"threats":[{"category":"impact","date":"2022-07-14T09:58:05Z","details":"moderate"}],"title":"CVE-2022-1348"}]}