CVE-2015-1395

Publication date 28 January 2015

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
patch 15.04 vivid
Fixed 2.7.3-1
14.10 utopic
Fixed 2.7.1-5ubuntu0.3
14.04 LTS trusty
Fixed 2.7.1-4ubuntu2.3
12.04 LTS precise
Not affected
10.04 LTS lucid
Not affected

Notes


tyhicks

git-style patch support added in 2.7

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
patch

Severity score breakdown

Parameter Value
Base score 7.5 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact High
Availability impact None
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-2651-1
    • GNU patch vulnerabilities
    • 22 June 2015

Other references