Incorrect Use of Privileged APIs Affecting ghostscript-cups package, versions <0:9.25-2.el7_7.1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS7-GHOSTSCRIPTCUPS-2145084
- published 26 Jul 2021
- disclosed 12 Aug 2019
Introduced: 12 Aug 2019
CVE-2019-10216 Open this link in a new tabHow to fix?
Upgrade Centos:7 ghostscript-cups to version 0:9.25-2.el7_7.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ghostscript-cups package and not the ghostscript-cups package as distributed by Centos.
See How to fix? for Centos:7 relevant fixed versions and status.
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.
References
- http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5b85ddd19
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10216
- https://access.redhat.com/security/cve/CVE-2019-10216
- https://security.gentoo.org/glsa/202004-03
- https://access.redhat.com/errata/RHSA-2019:2462
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=5b85ddd19