patch: directory traversal via file rename
Published Aug 25, 2017
7.5
HIGHCVSS 3.0
EPSS 11.29%
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.
Affected products
No data.
Configuration 1
- 20
- 21
Configuration 2
- 12.04
- 14.04
- 14.10
No data.
Red Hat Enterprise Linux 5
patch
Not affected
Red Hat Enterprise Linux 6
patch
Not affected
Red Hat Enterprise Linux 7
patch
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | patch | Not affected | n/a |
| Red Hat Enterprise Linux 6 | patch | Not affected | n/a |
| Red Hat Enterprise Linux 7 | patch | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
AV:N/AC:L/Au:N/C:N/I:C/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (23 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 11.29% (0.11289) | 95.85th | v5 (v2026.06.15) |
| Sep 22, 2026 | 11.29% (0.11289) | 95.78th | v5 (v2026.06.15) |
| Sep 21, 2026 | 9.28% (0.09276) | 95.20th | v5 (v2026.06.15) |
| Sep 6, 2026 | 11.29% (0.11289) | 95.68th | v5 (v2026.06.15) |
| Sep 5, 2026 | 9.28% (0.09276) | 95.09th | v5 (v2026.06.15) |
| Aug 30, 2026 | 11.29% (0.11289) | 95.66th | v5 (v2026.06.15) |
| Aug 28, 2026 | 9.28% (0.09276) | 95.06th | v5 (v2026.06.15) |
| Aug 24, 2026 | 11.29% (0.11289) | 95.63th | v5 (v2026.06.15) |
| Aug 23, 2026 | 9.20% (0.09202) | 95.02th | v5 (v2026.06.15) |
| Jun 15, 2026 | 11.20% (0.11199) | 95.38th | v5 (v2026.06.15) |
| Apr 21, 2026 | 3.65% (0.03651) | 87.88th | v4 (v2025.03.14) |
| Mar 15, 2026 | 2.62% (0.02624) | 85.48th | v4 (v2025.03.14) |
| Jul 20, 2025 | 1.52% (0.01515) | 80.39th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.36% (0.03364) | 86.21th | v4 (v2025.03.14) |
| Mar 29, 2025 | 7.26% (0.07255) | 85.75th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.36% (0.03364) | 86.52th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.29% (0.00285) | 69.56th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.29% (0.00285) | 67.82th | v3 (v2023.03.01) |
| May 8, 2023 | 0.29% (0.00285) | 63.90th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.34% (0.00344) | 67.01th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.97% (0.01974) | 78.97th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.97% (0.01974) | 77.12th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.97% (0.01974) | 56.20th | v2 (v2022.01.01) |
References (12)
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html vendor-advisoryx_refsource_FEDORAPatchThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html vendor-advisoryx_refsource_FEDORAPatchThird Party Advisory
- http://www.openwall.com/lists/oss-security/2015/01/27/28 mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory
- http://www.securityfocus.com/bid/72846 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.ubuntu.com/usn/USN-2651-1 vendor-advisoryx_refsource_UBUNTUPatchThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2015-1395 Vendor Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873 x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1184490 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd x_refsource_CONFIRMIssue TrackingPatch
- https://nvd.nist.gov/vuln/detail/CVE-2015-1395
- https://savannah.gnu.org/bugs/?44059 x_refsource_CONFIRMPatchVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2015-1395
Change history (0)
No recorded changes yet.