CVE-2019-10216
published 2019-11-27CVE-2019-10216: In ghostscript before version 9.50, the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions…
PriorityP340high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
2.30%
81.3th percentile
In ghostscript before version 9.50, the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges and access files outside of restricted areas.
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | < 9.50 | 9.50 |
| artifex | ghostscript | >= 0 < 9.27~dfsg-3.1 | 9.27~dfsg-3.1 |
| artifex | ghostscript | >= 0 < 9.27~dfsg-3.1 | 9.27~dfsg-3.1 |
| artifex | ghostscript | >= 0 < 9.27~dfsg-3.1 | 9.27~dfsg-3.1 |
| artifex | ghostscript | >= 0 < 9.27~dfsg-3.1 | 9.27~dfsg-3.1 |
| debian | ghostscript | < ghostscript 9.27~dfsg-3.1 (bookworm) | ghostscript 9.27~dfsg-3.1 (bookworm) |
| ghostscript | ghostscript | — | — |
| redhat | 3scale_api_management | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.07.3HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
ghostscript: -dSAFER escape via .buildfont1 (701394)
vendor_redhat·2019-08-12·CVSS 7.8
CVE-2019-10216 [HIGH] CWE-648 ghostscript: -dSAFER escape via .buildfont1 (701394)
ghostscript: -dSAFER escape via .buildfont1 (701394)
In ghostscript before version 9.50, the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges and access files outside of restricted areas.
It was found that the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges and access files outside of restricted areas.
Mitigation: Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509
Ubuntu
Ghostscript vulnerability
vendor_ubuntu·2019-08-12
CVE-2019-10216 Ghostscript vulnerability
Title: Ghostscript vulnerability
Summary: Ghostscript could be made to access files if it opened a specially
crafted file.
Netanel Fisher discovered that the font handler in Ghostscript did not
properly restrict privileged calls when '-dSAFER' restrictions were in
effect. 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.
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2019-10216: ghostscript - In ghostscript before version 9.50, the .buildfont1 procedure did not properly s...
vendor_debian·2019·CVSS 7.8
CVE-2019-10216 [HIGH] CVE-2019-10216: ghostscript - In ghostscript before version 9.50, the .buildfont1 procedure did not properly s...
In ghostscript before version 9.50, the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges and access files outside of restricted areas.
Scope: local
bookworm: resolved (fixed in 9.27~dfsg-3.1)
bullseye: resolved (fixed in 9.27~dfsg-3.1)
forky: resolved (fixed in 9.27~dfsg-3.1)
sid: resolved (fixed in 9.27~dfsg-3.1)
trixie: resolved (fixed in 9.27~dfsg-3.1)
GHSA
GHSA-9xw2-pr37-vhp5: It was found that the
ghsa_unreviewed·2022-05-24
CVE-2019-10216 [HIGH] CWE-648 GHSA-9xw2-pr37-vhp5: It was found that the
It was found that the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges and access files outside of restricted areas.
OSV
CVE-2019-10216: In ghostscript before version 9
osv·2019-11-27·CVSS 7.8
CVE-2019-10216 [HIGH] CVE-2019-10216: In ghostscript before version 9
In ghostscript before version 9.50, the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges and access files outside of restricted areas.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-3839 ghostscript: missing attack vector protections for CVE-2019-6116 [fedora-all]
bugzilla·2019-09-02·CVSS 7.8
CVE-2019-3839 [HIGH] CVE-2019-3839 ghostscript: missing attack vector protections for CVE-2019-6116 [fedora-all]
CVE-2019-3839 ghostscript: missing attack vector protections for CVE-2019-6116 [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supp
Bugzilla
CVE-2019-10216 ghostscript: -dSAFER escape via .buildfont1 (701394) [fedora-all]
bugzilla·2019-08-12·CVSS 7.8
CVE-2019-10216 [HIGH] CVE-2019-10216 ghostscript: -dSAFER escape via .buildfont1 (701394) [fedora-all]
CVE-2019-10216 ghostscript: -dSAFER escape via .buildfont1 (701394) [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versi
Bugzilla
CVE-2019-10216 ghostscript: -dSAFER escape via .buildfont1 (701394)
bugzilla·2019-08-02·CVSS 7.8
CVE-2019-10216 [HIGH] CVE-2019-10216 ghostscript: -dSAFER escape via .buildfont1 (701394)
CVE-2019-10216 ghostscript: -dSAFER escape via .buildfont1 (701394)
The .buildfont1 does not sufficiently protect its environment. A specially crafted PostScript script can override the typecheck error handler to retrieve a reference to .forceput. This can be used to disable -dSAFER and, for example, access files outside of the restricted area.
Discussion:
Acknowledgments:
Name: Artifex Software
Upstream: Netanel (Cloudinary)
---
Mitigation:
Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509
---
Created ghostscript tracking bugs for this issue:
Affects: fedora-all [bug 1740198]
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2019:2462 https://access.redhat.com/erra
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=5b85ddd19https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10216https://security.gentoo.org/glsa/202004-03http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=5b85ddd19https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10216https://security.gentoo.org/glsa/202004-03
2019-11-27
Published