{"api_version":"1","generated_at":"2026-07-23T11:56:40+00:00","cve":"CVE-2015-1395","urls":{"html":"https://cve.report/CVE-2015-1395","api":"https://cve.report/api/cve/CVE-2015-1395.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-1395","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-1395"},"summary":{"title":"CVE-2015-1395","description":"Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote attackers to write to arbitrary files with the permissions of the target user via a .. (dot dot) in a diff file name.","state":"PUBLIC","assigner":"security@debian.org","published_at":"2017-08-25 18:29:00","updated_at":"2017-08-30 01:13:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2015/01/27/28","name":"[oss-security] 20150127 Re: CVE Request: patch: directory traversal via file rename","refsource":"MLIST","tags":["Mailing List","Patch","Third Party Advisory"],"title":"oss-security - Re: CVE Request: patch: directory traversal via file\n rename","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-2651-1","name":"USN-2651-1","refsource":"UBUNTU","tags":["Patch","Third Party Advisory"],"title":"USN-2651-1: GNU patch vulnerabilities | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873","name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873","refsource":"MISC","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"#775873 - patch: CVE-2015-1395: directory traversal via file rename - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html","name":"FEDORA-2015-1165","refsource":"FEDORA","tags":["Patch","Third Party Advisory"],"title":"[SECURITY] Fedora 20 Update: patch-2.7.5-1.fc20","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd","name":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd","refsource":"CONFIRM","tags":["Issue Tracking","Patch"],"title":"patch.git - GNU patch","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html","name":"FEDORA-2015-1134","refsource":"FEDORA","tags":["Patch","Third Party Advisory"],"title":"[SECURITY] Fedora 21 Update: patch-2.7.3-1.fc21","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/72846","name":"72846","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"GNU patch CVE-2015-1395 Local Directory Traversal Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1184490","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1184490","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"1184490 – (CVE-2015-1395) CVE-2015-1395 patch: directory traversal via file rename","mime":"text/html","httpstatus":"200","archivestatus":"503"},{"url":"https://savannah.gnu.org/bugs/?44059","name":"https://savannah.gnu.org/bugs/?44059","refsource":"CONFIRM","tags":["Patch","Vendor Advisory"],"title":"GNU patch - Bugs: bug #44059, directory traversal via file rename [Savannah]","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-1395","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-1395","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"1395","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"12.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1395","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1395","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1395","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"12.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1395","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1395","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1395","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"20","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1395","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"21","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1395","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"20","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1395","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"21","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1395","vulnerable":"1","versionEndIncluding":"2.7.2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnu","cpe5":"patch","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@debian.org","ID":"CVE-2015-1395","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote attackers to write to arbitrary files with the permissions of the target user via a .. (dot dot) in a diff file name."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873","refsource":"MISC","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873"},{"name":"72846","refsource":"BID","url":"http://www.securityfocus.com/bid/72846"},{"name":"FEDORA-2015-1134","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html"},{"name":"https://savannah.gnu.org/bugs/?44059","refsource":"CONFIRM","url":"https://savannah.gnu.org/bugs/?44059"},{"name":"[oss-security] 20150127 Re: CVE Request: patch: directory traversal via file rename","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2015/01/27/28"},{"name":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd","refsource":"CONFIRM","url":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd"},{"name":"FEDORA-2015-1165","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html"},{"name":"USN-2651-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2651-1"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1184490","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1184490"}]}},"nvd":{"publishedDate":"2017-08-25 18:29:00","lastModifiedDate":"2017-08-30 01:13:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:C/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"COMPLETE","availabilityImpact":"NONE","baseScore":7.8},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.9,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:20:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnu:patch:*:*:*:*:*:*:*:*","versionEndIncluding":"2.7.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"1395","Ordinal":"78251","Title":"CVE-2015-1395","CVE":"CVE-2015-1395","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"1395","Ordinal":"1","NoteData":"Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote attackers to write to arbitrary files with the permissions of the target user via a .. (dot dot) in a diff file name.","Type":"Description","Title":null},{"CveYear":"2015","CveId":"1395","Ordinal":"2","NoteData":"2017-08-25","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"1395","Ordinal":"3","NoteData":"2017-08-25","Type":"Other","Title":"Modified"}]}}}