{"id":"USN-2651-1","summary":"patch vulnerabilities","details":"Jakub Wilk discovered that GNU patch did not correctly handle file paths in\npatch files. An attacker could specially craft a patch file that could\noverwrite arbitrary files with the privileges of the user invoking the program.\nThis issue only affected Ubuntu 12.04 LTS. (CVE-2010-4651)\n\nLászló Böszörményi discovered that GNU patch did not correctly handle some\npatch files. An attacker could specially craft a patch file that could cause a\ndenial of service. (CVE-2014-9637)\n\nJakub Wilk discovered that GNU patch did not correctly handle symbolic links in\ngit style patch files. An attacker could specially craft a patch file that\ncould overwrite arbitrary files with the privileges of the user invoking the\nprogram. This issue only affected Ubuntu 14.04 LTS and Ubuntu 14.10.\n(CVE-2015-1196)\n\nJakub Wilk discovered that GNU patch did not correctly handle file renames in\ngit style patch files. An attacker could specially craft a patch file that\ncould overwrite arbitrary files with the privileges of the user invoking the\nprogram. This issue only affected Ubuntu 14.04 LTS and Ubuntu 14.10.\n(CVE-2015-1395)\n\nJakub Wilk discovered the fix for CVE-2015-1196 was incomplete for GNU patch.\nAn attacker could specially craft a patch file that could overwrite arbitrary\nfiles with the privileges of the user invoking the program. This issue only\naffected Ubuntu 14.04 LTS and Ubuntu 14.10. (CVE-2015-1396)\n","modified":"2026-02-10T04:40:54Z","published":"2015-06-22T23:50:54Z","related":["UBUNTU-CVE-2014-9637","UBUNTU-CVE-2015-1196","UBUNTU-CVE-2015-1395","UBUNTU-CVE-2015-1396"],"upstream":["CVE-2010-4651","CVE-2014-9637","CVE-2015-1196","CVE-2015-1395","CVE-2015-1396","UBUNTU-CVE-2010-4651","UBUNTU-CVE-2014-9637","UBUNTU-CVE-2015-1196","UBUNTU-CVE-2015-1395","UBUNTU-CVE-2015-1396"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2651-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2010-4651"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-9637"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-1196"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-1395"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-1396"}],"affected":[{"package":{"name":"patch","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/patch@2.7.1-4ubuntu2.3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1-4ubuntu2.3"}]}],"versions":["2.7.1-3","2.7.1-4","2.7.1-4ubuntu1","2.7.1-4ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"patch","binary_version":"2.7.1-4ubuntu2.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-2651-1.json","cves_map":{"cves":[{"id":"CVE-2014-9637","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2015-1196","severity":[{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2015-1395","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2015-1396","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:14.04:LTS"}}}],"schema_version":"1.7.3"}