{"id":"CVE-2015-1196","published":"2015-01-21T18:00:00Z","modified":"2024-08-06T04:33:20Z","title":"GNU patch 2.7.1 allows remote attackers to write to arbitrary files via a symlink attack in a patch file","vendor":null,"product":null,"tier":"tail","description":{"text":"GNU patch 2.7.1 allows remote attackers to write to arbitrary files via a symlink attack in a patch file.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06146,"percentile":0.93629,"provenance":"source"},"cwes":[],"references":[{"url":"http://git.savannah.gnu.org/cgit/patch.git/commit/?id=4e9269a5fc1fe80a1095a92593dd85db871e1fd3","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1182154","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/72074","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775227","tags":["x_refsource_CONFIRM"]},{"url":"http://seclists.org/oss-sec/2015/q1/173","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-updates/2015-02/msg00013.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/99967","tags":["vdb-entry","x_refsource_XF"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":18.73}]},"summary":{"text":"The flaw is in GNU patch version 2.7.1, the utility used to apply diff files to source trees, where it mishandles symbolic links referenced inside a patch file. An attacker who can supply a crafted patch file to the affected tool can cause it to write to arbitrary files on the system through a symlink attack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:01:51Z"},"euvd":{"id":"EUVD-2015-1337","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2015-1196-family-cve-2015-1196","children":[{"from":"CVE-2015-1196","to":"CVE-2015-1396","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this issue exists because of an incomplete fix for CVE-2015-1196.","from":"CVE.org","in":"CVE-2015-1396"}]}]}}