Ghostscript up to 9.49 setuserparams2 PostScript File incorrect privileged apis
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.9 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in Ghostscript. Affected by this issue is the function setuserparams2. The manipulation as part of PostScript File results in incorrect use of privileged apis.
This vulnerability is identified as CVE-2019-14812. The attack can be executed remotely. There is not any exploit available.
A patch should be applied to remediate this issue.
Details
A vulnerability classified as critical has been found in Ghostscript (Document Processing Software). Affected is the function setuserparams2. The manipulation as part of a PostScript File leads to a incorrect use of privileged apis vulnerability. CWE is classifying the issue as CWE-648. The product does not conform to the API requirements for a function call that requires extra privileges. This could allow attackers to gain privileges by causing the function to be called incorrectly. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
A flaw was found in all ghostscript versions 9.x before 9.50, in the .setuserparams2 procedure where it did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. A specially crafted PostScript file could disable security protection and then have access to the file system, or execute arbitrary commands.
The weakness was released 11/27/2019 as confirmed git commit (GIT Repository). The advisory is available at git.ghostscript.com. This vulnerability is traded as CVE-2019-14812 since 08/10/2019. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 240001 (TencentOS Server 3: ghostscript (TSSA-2022:0123)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 9.50 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.ghostscript.com. The best possible mitigation is suggested to be patching the affected component.
The vulnerability is also documented in the vulnerability database at Tenable (240001). Entry connected to this vulnerability is available at VDB-141334. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Name
Version
- 9.0
- 9.1
- 9.2
- 9.3
- 9.4
- 9.5
- 9.6
- 9.7
- 9.8
- 9.9
- 9.10
- 9.11
- 9.12
- 9.13
- 9.14
- 9.15
- 9.16
- 9.17
- 9.18
- 9.19
- 9.20
- 9.21
- 9.22
- 9.23
- 9.24
- 9.25
- 9.26
- 9.27
- 9.28
- 9.29
- 9.30
- 9.31
- 9.32
- 9.33
- 9.34
- 9.35
- 9.36
- 9.37
- 9.38
- 9.39
- 9.40
- 9.41
- 9.42
- 9.43
- 9.44
- 9.45
- 9.46
- 9.47
- 9.48
- 9.49
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.0VulDB Meta Temp Score: 6.9
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.3
NVD Vector: 🔍
CNA Base Score: 7.3
CNA Vector (Red Hat, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Incorrect use of privileged apisCWE: CWE-648
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 240001
Nessus Name: TencentOS Server 3: ghostscript (TSSA-2022:0123)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Upgrade: Ghostscript 9.50
Patch: 885444fcbe10dc42787ecb76686c8ee4dd33bf33
Timeline
08/10/2019 🔍11/27/2019 🔍
11/28/2019 🔍
06/17/2025 🔍
Sources
Advisory: git.ghostscript.comStatus: Confirmed
CVE: CVE-2019-14812 (🔍)
GCVE (CVE): GCVE-0-2019-14812
GCVE (VulDB): GCVE-100-146466
See also: 🔍
Entry
Created: 11/28/2019 08:10Updated: 06/17/2025 16:23
Changes: 11/28/2019 08:10 (42), 11/28/2019 08:15 (12), 02/28/2024 18:50 (3), 02/28/2024 18:57 (19), 06/17/2025 16:23 (16)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.