Skip to content
OpenAdvisories
Unscored USN-2651-1 5 CVEs

patch vulnerabilities

Published Jun 22, 2015 · Updated Feb 10, 2026

Summary

Jakub Wilk discovered that GNU patch did not correctly handle file paths in
patch files. An attacker could specially craft a patch file that could
overwrite arbitrary files with the privileges of the user invoking the program.
This issue only affected Ubuntu 12.04 LTS. (CVE-2010-4651)

László Böszörményi discovered that GNU patch did not correctly handle some
patch files. An attacker could specially craft a patch file that could cause a
denial of service. (CVE-2014-9637)

Jakub Wilk discovered that GNU patch did not correctly handle symbolic links in
git style patch files. An attacker could specially craft a patch file that
could overwrite arbitrary files with the privileges of the user invoking the
program. This issue only affected Ubuntu 14.04 LTS and Ubuntu 14.10.
(CVE-2015-1196)

Jakub Wilk discovered that GNU patch did not correctly handle file renames in
git style patch files. An attacker could specially craft a patch file that
could overwrite arbitrary files with the privileges of the user invoking the
program. This issue only affected Ubuntu 14.04 LTS and Ubuntu 14.10.
(CVE-2015-1395)

Jakub Wilk discovered the fix for CVE-2015-1196 was incomplete for GNU patch.
An attacker could specially craft a patch file that could overwrite arbitrary
files with the privileges of the user invoking the program. This issue only
affected Ubuntu 14.04 LTS and Ubuntu 14.10. (CVE-2015-1396)

Fixed packages 1

ReleasePackageFixed in
Ubuntu · 14.04 LTS 14.04:LTS patch 2.7.1-4ubuntu2.3

Vulnerabilities 5

  • Unscored —

    Directory traversal vulnerability in util.c in GNU patch 2.6.1 and earlier allows user-assisted remote attackers to cre…

  • Unscored —

    GNU patch 2.7.2 and earlier allows remote attackers to cause a denial of service (memory consumption and segmentation f…

  • 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://ubuntu.com/security/CVE-2010-4651
  • report
    https://ubuntu.com/security/CVE-2014-9637
  • report
    https://ubuntu.com/security/CVE-2015-1196
  • report
    https://ubuntu.com/security/CVE-2015-1395
  • report
    https://ubuntu.com/security/CVE-2015-1396