UBUNTU-CVE-2021-3781

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2021-3781
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3781.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-3781
Related
Published
2021-09-08T01:28:24Z
Modified
2021-09-08T01:28:24Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A trivial sandbox (enabled with the -dSAFER option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted pipe command. This flaw allows a specially crafted document to execute arbitrary commands on the system in the context of the ghostscript interpreter. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

References

Affected packages

Ubuntu:18.04:LTS / ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript@9.26~dfsg+0-0ubuntu0.18.04.14?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.26~dfsg+0-0ubuntu0.18.04.14

Affected versions

9.*

9.21~dfsg+1-0ubuntu3
9.22~dfsg+1-0ubuntu1
9.22~dfsg+1-0ubuntu1.1
9.22~dfsg+1-0ubuntu1.2
9.25~dfsg+1-0ubuntu0.18.04.1
9.25~dfsg+1-0ubuntu0.18.04.2
9.26~dfsg+0-0ubuntu0.18.04.1
9.26~dfsg+0-0ubuntu0.18.04.3
9.26~dfsg+0-0ubuntu0.18.04.4
9.26~dfsg+0-0ubuntu0.18.04.5
9.26~dfsg+0-0ubuntu0.18.04.6
9.26~dfsg+0-0ubuntu0.18.04.7
9.26~dfsg+0-0ubuntu0.18.04.8
9.26~dfsg+0-0ubuntu0.18.04.9
9.26~dfsg+0-0ubuntu0.18.04.10
9.26~dfsg+0-0ubuntu0.18.04.11
9.26~dfsg+0-0ubuntu0.18.04.12
9.26~dfsg+0-0ubuntu0.18.04.13

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "ghostscript-dbg": "9.26~dfsg+0-0ubuntu0.18.04.14",
            "ghostscript-doc": "9.26~dfsg+0-0ubuntu0.18.04.14",
            "ghostscript-x": "9.26~dfsg+0-0ubuntu0.18.04.14",
            "libgs9": "9.26~dfsg+0-0ubuntu0.18.04.14",
            "libgs-dev": "9.26~dfsg+0-0ubuntu0.18.04.14",
            "libgs9-common": "9.26~dfsg+0-0ubuntu0.18.04.14",
            "ghostscript": "9.26~dfsg+0-0ubuntu0.18.04.14"
        }
    ]
}

Ubuntu:20.04:LTS / ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript@9.50~dfsg-5ubuntu4.3?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.50~dfsg-5ubuntu4.3

Affected versions

9.*

9.27~dfsg+0-0ubuntu3
9.27~dfsg+0-0ubuntu4
9.50~dfsg-5ubuntu1
9.50~dfsg-5ubuntu2
9.50~dfsg-5ubuntu3
9.50~dfsg-5ubuntu4
9.50~dfsg-5ubuntu4.1
9.50~dfsg-5ubuntu4.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "ghostscript-dbg": "9.50~dfsg-5ubuntu4.3",
            "ghostscript-doc": "9.50~dfsg-5ubuntu4.3",
            "ghostscript-x": "9.50~dfsg-5ubuntu4.3",
            "libgs9": "9.50~dfsg-5ubuntu4.3",
            "libgs-dev": "9.50~dfsg-5ubuntu4.3",
            "libgs9-common": "9.50~dfsg-5ubuntu4.3",
            "ghostscript": "9.50~dfsg-5ubuntu4.3"
        }
    ]
}

Ubuntu:22.04:LTS / ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript@9.54.0~dfsg1-0ubuntu2?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.54.0~dfsg1-0ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "libgs9-dbgsym": "9.54.0~dfsg1-0ubuntu2",
            "ghostscript-dbgsym": "9.54.0~dfsg1-0ubuntu2",
            "ghostscript-doc": "9.54.0~dfsg1-0ubuntu2",
            "ghostscript-x": "9.54.0~dfsg1-0ubuntu2",
            "libgs9": "9.54.0~dfsg1-0ubuntu2",
            "ghostscript-x-dbgsym": "9.54.0~dfsg1-0ubuntu2",
            "libgs9-common": "9.54.0~dfsg1-0ubuntu2",
            "libgs-dev": "9.54.0~dfsg1-0ubuntu2",
            "ghostscript": "9.54.0~dfsg1-0ubuntu2"
        }
    ]
}