{"affected":[{"ecosystem_specific":{"binaries":[{"patch":"2.7.5-7.1"}]},"package":{"ecosystem":"SUSE:Linux Enterprise Desktop 12","name":"patch","purl":"pkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Desktop%2012"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.7.5-7.1"}],"type":"ECOSYSTEM"}]},{"ecosystem_specific":{"binaries":[{"patch":"2.7.5-7.1"}]},"package":{"ecosystem":"SUSE:Linux Enterprise Server 12","name":"patch","purl":"pkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Server%2012"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.7.5-7.1"}],"type":"ECOSYSTEM"}]},{"ecosystem_specific":{"binaries":[{"patch":"2.7.5-7.1"}]},"package":{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12","name":"patch","purl":"pkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.7.5-7.1"}],"type":"ECOSYSTEM"}]}],"aliases":[],"details":"The GNU patch utility was updated to 2.7.5 to fix three security issues and one non-security bug.\n\nThe following vulnerabilities were fixed:\n\n* CVE-2015-1196: directory traversal flaw when handling git-style patches. This could allow an attacker to overwrite arbitrary files by tricking the user into applying a specially crafted patch. (bsc#913678)\n* CVE-2015-1395: directory traversal flaw when handling patches which rename files. This could allow an attacker to overwrite arbitrary files by tricking the user into applying a specially crafted patch. (bsc#915328) \n* CVE-2015-1396: directory traversal flaw via symbolic links. This could allow an attacker to overwrite arbitrary files by tricking the user into applying a by applying a specially crafted patch. (bsc#915329)\n\nThe following bug was fixed:\n\n* bsc#904519:  Function names in hunks (from diff -p) are now preserved in  reject files.\n","id":"SUSE-SU-2015:1019-1","modified":"2015-06-03T12:13:47Z","published":"2015-06-03T12:13:47Z","references":[{"type":"ADVISORY","url":"https://www.suse.com/support/update/announcement/2015/suse-su-20151019-1/"},{"type":"REPORT","url":"https://bugzilla.suse.com/904519"},{"type":"REPORT","url":"https://bugzilla.suse.com/913678"},{"type":"REPORT","url":"https://bugzilla.suse.com/915328"},{"type":"REPORT","url":"https://bugzilla.suse.com/915329"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2015-1196"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2015-1395"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2015-1396"}],"related":["CVE-2015-1196","CVE-2015-1395","CVE-2015-1396"],"summary":"Security update for patch","upstream":["CVE-2015-1196","CVE-2015-1395","CVE-2015-1396"]}