USN-2651-1

Source
https://ubuntu.com/security/notices/USN-2651-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-2651-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-2651-1
Related
Published
2015-06-22T23:50:54.514887Z
Modified
2015-06-22T23:50:54.514887Z
Summary
patch vulnerabilities
Details

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)

References

Affected packages

Ubuntu:14.04:LTS / patch

Package

Name
patch
Purl
pkg:deb/ubuntu/patch@2.7.1-4ubuntu2.3?arch=source&distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.1-4ubuntu2.3

Affected versions

2.*

2.7.1-3
2.7.1-4
2.7.1-4ubuntu1
2.7.1-4ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2.7.1-4ubuntu2.3",
            "binary_name": "patch"
        },
        {
            "binary_version": "2.7.1-4ubuntu2.3",
            "binary_name": "patch-dbgsym"
        }
    ]
}