Back to CVE catalog
CVE-2015-1395

GNU patch directory traversal allows arbitrary file write

Multiple products

At a glance

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 description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS summary v3.0

7.5High
Published:
Updated:
EPSS:
11.501%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:gnupatchAffected versions:
≤ 2.7.2
Vendor:Canonicalubuntu linuxAffected versions:
12.04Show full version range for ubuntu linux
14.0414.10
Vendor:FedorafedoraAffected versions:
20Show full version range for fedora
21
Vendor:redhatpatch
Environments (1)
  • cpe:/o:redhat:enterprise_linux:7
Affected versions:
Range not specifiedShow full version range for patch
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Debianpatch
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.7.3-1
Vendor:Fedorapatch
Environments (1)
  • cpe:/o:fedoraproject:fedora:21
Affected versions:
< 2.7.3-1.fc21
Vendor:SUSEpatch
Environments (9)
  • cpe:/o:suse:sle_hpc:12
  • cpe:/o:suse:sle_hpc:12:sp1
  • cpe:/o:suse:sle_hpc:12:sp2
  • cpe:/o:suse:sle_hpc:12:sp3
  • cpe:/o:suse:sles:12
  • cpe:/o:suse:sles:12:sp1
  • cpe:/o:suse:sles:12:sp2
  • cpe:/o:suse:sles:12:sp3
  • cpe:/o:suse:sles_sap:12
Affected versions:
< 0:2.7.5-7.1
Vendor:SUSEpatch
Environments (5)
  • cpe:/o:suse:sle_hpc:12:sp4
  • cpe:/o:suse:sle_hpc:12:sp5
  • cpe:/o:suse:sles:12:sp4
  • cpe:/o:suse:sles:12:sp5
  • cpe:/o:suse:sles_sap:12:sp5
Affected versions:
< 0:2.7.5-8.5.1
Vendor:SUSEpatch
Environments (4)
  • cpe:/o:suse:sled:12
  • cpe:/o:suse:sled:12:sp1
  • cpe:/o:suse:sled:12:sp2
  • cpe:/o:suse:sled:12:sp3
Affected versions:
< 0:2.7.5-7.1
Vendor:SUSEpatch
Environments (1)
  • cpe:/o:suse:sled:12:sp4
Affected versions:
< 0:2.7.5-8.5.1

1–10 of 12 · Page 1 of 2

CVSS scores and metrics7
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
High
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
canonical · Wazuh CTI (adp)7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
High
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd · Wazuh CTI (cna)7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
High
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
[email protected] · NVD (Primary)7.8 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Complete
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:C/A:N
redhat · Wazuh CTI (adp)3.6 / 10LowCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
None
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:P/I:P/A:N
nvd · Wazuh CTI (cna)7.8 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Complete
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:C/A:N
Red Hat · Red Hat VEX (adp)3.6 / 10LowCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
None
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:P/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories22

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences