{"affected":[{"ecosystem_specific":{"binaries":[{"patch":"2.7.6-150000.5.3.1"}]},"package":{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","name":"patch","purl":"purl:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.3.1"}],"type":"ECOSYSTEM"}]},{"ecosystem_specific":{"binaries":[{"patch":"2.7.6-150000.5.3.1"}]},"package":{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","name":"patch","purl":"purl:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.3.1"}],"type":"ECOSYSTEM"}]},{"ecosystem_specific":{"binaries":[{"patch":"2.7.6-150000.5.3.1"}]},"package":{"ecosystem":"openSUSE:Leap 15.3","name":"patch","purl":"purl:rpm/suse/patch&distro=openSUSE%20Leap%2015.3"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.3.1"}],"type":"ECOSYSTEM"}]},{"ecosystem_specific":{"binaries":[{"patch":"2.7.6-150000.5.3.1"}]},"package":{"ecosystem":"openSUSE:Leap 15.4","name":"patch","purl":"purl:rpm/suse/patch&distro=openSUSE%20Leap%2015.4"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.3.1"}],"type":"ECOSYSTEM"}]}],"aliases":[],"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","id":"SUSE-SU-2022:1925-1","modified":"2022-06-02T12:35:31Z","published":"2022-06-02T12:35:31Z","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"}],"related":["CVE-2018-6952","CVE-2019-13636"],"summary":"Security update for patch"}