UBUNTU-CVE-2017-8291

Source
https://ubuntu.com/security/CVE-2017-8291
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-8291.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2017-8291
Related
Published
2017-04-26T00:00:00Z
Modified
2017-04-26T00:00:00Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 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

Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile (%pipe%" substring in a crafted .eps document that is an input to the gs program, as exploited in the wild in April 2017.

References

Affected packages

Ubuntu:14.04:LTS / ghostscript

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.10~dfsg-0ubuntu10.7

Affected versions

9.*

9.10~dfsg-0ubuntu2
9.10~dfsg-0ubuntu3
9.10~dfsg-0ubuntu4
9.10~dfsg-0ubuntu5
9.10~dfsg-0ubuntu6
9.10~dfsg-0ubuntu7
9.10~dfsg-0ubuntu8
9.10~dfsg-0ubuntu9
9.10~dfsg-0ubuntu10
9.10~dfsg-0ubuntu10.1
9.10~dfsg-0ubuntu10.2
9.10~dfsg-0ubuntu10.3
9.10~dfsg-0ubuntu10.4
9.10~dfsg-0ubuntu10.5
9.10~dfsg-0ubuntu10.6

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "9.10~dfsg-0ubuntu10.7",
            "binary_name": "ghostscript"
        },
        {
            "binary_version": "9.10~dfsg-0ubuntu10.7",
            "binary_name": "ghostscript-dbg"
        },
        {
            "binary_version": "9.10~dfsg-0ubuntu10.7",
            "binary_name": "ghostscript-dbgsym"
        },
        {
            "binary_version": "9.10~dfsg-0ubuntu10.7",
            "binary_name": "ghostscript-doc"
        },
        {
            "binary_version": "9.10~dfsg-0ubuntu10.7",
            "binary_name": "ghostscript-x"
        },
        {
            "binary_version": "9.10~dfsg-0ubuntu10.7",
            "binary_name": "ghostscript-x-dbgsym"
        },
        {
            "binary_version": "9.10~dfsg-0ubuntu10.7",
            "binary_name": "libgs-dev"
        },
        {
            "binary_version": "9.10~dfsg-0ubuntu10.7",
            "binary_name": "libgs-dev-dbgsym"
        },
        {
            "binary_version": "9.10~dfsg-0ubuntu10.7",
            "binary_name": "libgs9"
        },
        {
            "binary_version": "9.10~dfsg-0ubuntu10.7",
            "binary_name": "libgs9-common"
        },
        {
            "binary_version": "9.10~dfsg-0ubuntu10.7",
            "binary_name": "libgs9-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / ghostscript

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.18~dfsg~0-0ubuntu2.4

Affected versions

9.*

9.16~dfsg~0-0ubuntu3
9.16~dfsg~0-0ubuntu4
9.18~dfsg~0-0ubuntu1
9.18~dfsg~0-0ubuntu2
9.18~dfsg~0-0ubuntu2.2
9.18~dfsg~0-0ubuntu2.3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "9.18~dfsg~0-0ubuntu2.4",
            "binary_name": "ghostscript"
        },
        {
            "binary_version": "9.18~dfsg~0-0ubuntu2.4",
            "binary_name": "ghostscript-dbg"
        },
        {
            "binary_version": "9.18~dfsg~0-0ubuntu2.4",
            "binary_name": "ghostscript-dbgsym"
        },
        {
            "binary_version": "9.18~dfsg~0-0ubuntu2.4",
            "binary_name": "ghostscript-doc"
        },
        {
            "binary_version": "9.18~dfsg~0-0ubuntu2.4",
            "binary_name": "ghostscript-x"
        },
        {
            "binary_version": "9.18~dfsg~0-0ubuntu2.4",
            "binary_name": "ghostscript-x-dbgsym"
        },
        {
            "binary_version": "9.18~dfsg~0-0ubuntu2.4",
            "binary_name": "libgs-dev"
        },
        {
            "binary_version": "9.18~dfsg~0-0ubuntu2.4",
            "binary_name": "libgs-dev-dbgsym"
        },
        {
            "binary_version": "9.18~dfsg~0-0ubuntu2.4",
            "binary_name": "libgs9"
        },
        {
            "binary_version": "9.18~dfsg~0-0ubuntu2.4",
            "binary_name": "libgs9-common"
        },
        {
            "binary_version": "9.18~dfsg~0-0ubuntu2.4",
            "binary_name": "libgs9-dbgsym"
        }
    ]
}