{"id":"SUSE-SU-2022:1925-1","summary":"Security update for patch","details":"This update for patch fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2019-13636: Fixed follow symlinks unless --follow-symlinks is given. This increases the security against malicious patches (bsc#1142041).\n- CVE-2018-6952: Fixed swapping fakelines in pch_swap. This bug was causing a double free leading to a crash (bsc#1080985).\n\nBugfixes:\n\n- Abort when cleaning up fails. This bug could cause an infinite loop when a patch wouldn't apply, leading to a segmentation fault (bsc#1111572).\n- Pass the correct stat to backup files. This bug would occasionally cause backup files to be missing when all hunks failed to apply (bsc#1198106).\n","modified":"2026-03-11T07:19:57.845988Z","published":"2022-06-02T12:35:31Z","related":["CVE-2018-6952","CVE-2019-13636"],"upstream":["CVE-2018-6952","CVE-2019-13636"],"references":[{"type":"ADVISORY","url":"https://www.suse.com/support/update/announcement/2022/suse-su-20221925-1/"},{"type":"REPORT","url":"https://bugzilla.suse.com/1080985"},{"type":"REPORT","url":"https://bugzilla.suse.com/1111572"},{"type":"REPORT","url":"https://bugzilla.suse.com/1142041"},{"type":"REPORT","url":"https://bugzilla.suse.com/1198106"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2018-6952"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2019-13636"}],"affected":[{"package":{"name":"patch","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","purl":"pkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.3.1"}]}],"ecosystem_specific":{"binaries":[{"patch":"2.7.6-150000.5.3.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1925-1.json"}},{"package":{"name":"patch","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","purl":"pkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.3.1"}]}],"ecosystem_specific":{"binaries":[{"patch":"2.7.6-150000.5.3.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1925-1.json"}},{"package":{"name":"patch","ecosystem":"openSUSE:Leap 15.3","purl":"pkg:rpm/opensuse/patch&distro=openSUSE%20Leap%2015.3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.3.1"}]}],"ecosystem_specific":{"binaries":[{"patch":"2.7.6-150000.5.3.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1925-1.json"}},{"package":{"name":"patch","ecosystem":"openSUSE:Leap 15.4","purl":"pkg:rpm/opensuse/patch&distro=openSUSE%20Leap%2015.4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.3.1"}]}],"ecosystem_specific":{"binaries":[{"patch":"2.7.6-150000.5.3.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1925-1.json"}}],"schema_version":"1.7.5"}