Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 775873 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
patch (PTS) | jessie, jessie (lts) | 2.7.5-1+deb8u3 | fixed |
| stretch (security), stretch (lts), stretch | 2.7.5-1+deb9u2 | fixed |
| buster (security), buster, buster (lts) | 2.7.6-3+deb10u1 | fixed |
| sid, trixie, bullseye, bookworm | 2.7.6-7 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
patch | source | squeeze | (not affected) | | | |
patch | source | wheezy | (not affected) | | | |
patch | source | (unstable) | 2.7.3-1 | | | 775873 |
Notes
[wheezy] - patch <not-affected> (Support for git-style patches added in 2.7)
[squeeze] - patch <not-affected> (Support for git-style patches added in 2.7)
Upstream report: https://savannah.gnu.org/bugs/?44059
https://www.openwall.com/lists/oss-security/2015/01/24/2