Summary
The GNU patch utility was updated to 2.7.5 to fix three security issues and one non-security bug.
The following vulnerabilities were fixed:
* 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)
* 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)
* 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)
The following bug was fixed:
* bsc#904519: Function names in hunks (from diff -p) are now preserved in reject files.
Fixed packages 3
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 12 Linux Enterprise Desktop 12 | patch | 2.7.5-7.1 |
| SUSE · SLES 12 Linux Enterprise Server 12 | patch | 2.7.5-7.1 |
| SUSE · SLES for SAP 12 Linux Enterprise Server for SAP Applications 12 | patch | 2.7.5-7.1 |
Vulnerabilities 3
-
Unscored —
GNU patch 2.7.1 allows remote attackers to write to arbitrary files via a symlink attack in a patch file.
-
Unscored —CVE-2015-1395 EPSS 11%
Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote att…
-
Unscored —
A Directory Traversal vulnerability exists in the GNU patch before 2.7.4. A remote attacker can write to arbitrary file…
References
-
report
https://bugzilla.suse.com/904519
-
report
https://bugzilla.suse.com/913678
-
report
https://bugzilla.suse.com/915328
-
report
https://bugzilla.suse.com/915329
-
web
https://www.suse.com/security/cve/CVE-2015-1196
-
web
https://www.suse.com/security/cve/CVE-2015-1395
-
web
https://www.suse.com/security/cve/CVE-2015-1396