UBUNTU-CVE-2019-13638

Source
https://ubuntu.com/security/CVE-2019-13638
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-13638.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2019-13638
Related
Published
2019-07-22T00:00:00Z
Modified
2019-07-22T00:00:00Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a crafted patch file that contains an ed style diff payload with shell metacharacters. The ed editor does not need to be present on the vulnerable system. This is different from CVE-2018-1000156.

References

Affected packages

Ubuntu:Pro:14.04:LTS / patch

Package

Name
patch
Purl
pkg:deb/ubuntu/patch?arch=src?distro=trusty/esm

Affected ranges

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

Affected versions

2.*

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

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.7.1-4ubuntu2.4+esm1",
            "binary_name": "patch"
        },
        {
            "binary_version": "2.7.1-4ubuntu2.4+esm1",
            "binary_name": "patch-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / patch

Package

Name
patch
Purl
pkg:deb/ubuntu/patch?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.5-1ubuntu0.16.04.2

Affected versions

2.*

2.7.5-1
2.7.5-1ubuntu0.16.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.7.5-1ubuntu0.16.04.2",
            "binary_name": "patch"
        },
        {
            "binary_version": "2.7.5-1ubuntu0.16.04.2",
            "binary_name": "patch-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / patch

Package

Name
patch
Purl
pkg:deb/ubuntu/patch?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-2ubuntu1.1

Affected versions

2.*

2.7.5-1build1
2.7.6-1
2.7.6-2ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.7.6-2ubuntu1.1",
            "binary_name": "patch"
        },
        {
            "binary_version": "2.7.6-2ubuntu1.1",
            "binary_name": "patch-dbgsym"
        }
    ]
}