UBUNTU-CVE-2018-20969

Source
https://ubuntu.com/security/CVE-2018-20969
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20969.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2018-20969
Related
Published
2019-08-16T04:15:00Z
Modified
2019-08-16T04:15: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

doedscript in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for CVE-2019-13638, but the ! syntax is specific to ed, and is unrelated to a shell metacharacter.

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"
        }
    ]
}