USN-5075-1

Source
https://ubuntu.com/security/notices/USN-5075-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5075-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5075-1
Upstream
Related
Published
2021-09-10T11:57:42.864174Z
Modified
2025-10-13T04:35:37Z
Summary
ghostscript vulnerability
Details

It was discovered that Ghostscript incorrectly handled certain PostScript files. If a user or automated system were tricked into processing a specially crafted file, a remote attacker could possibly use this issue to access arbitrary files, execute arbitrary code, or cause a denial of service.

References

Affected packages

Ubuntu:20.04:LTS / ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript@9.50~dfsg-5ubuntu4.3?arch=source&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

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

Database specific

{
    "cves_map": {
        "cves": [
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "high",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-3781"
            }
        ],
        "ecosystem": "Ubuntu:20.04:LTS"
    }
}