Artifex Ghostscript GhostXPS 9.22 xps/xpsfont.c xps_decode_font_char_imp memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Artifex Ghostscript GhostXPS 9.22. It has been classified as critical. Affected is the function xps_decode_font_char_imp of the file xps/xpsfont.c. The manipulation leads to memory corruption.
This vulnerability is listed as CVE-2017-9740. The attack must be carried out locally. There is no available exploit.
It is recommended to apply a patch to fix this issue.
Details
A vulnerability was found in Artifex Ghostscript GhostXPS 9.22 (Document Processing Software). It has been rated as critical. This issue affects the function xps_decode_font_char_imp of the file xps/xpsfont.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
The xps_decode_font_char_imp function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.22 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document.
The bug was discovered 07/25/2017. The weakness was presented 07/26/2017 as confirmed git commit (GIT Repository). It is possible to read the advisory at git.ghostscript.com. The identification of this vulnerability is CVE-2017-9740 since 06/18/2017. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 119132 (GLSA-201811-12 : GPL Ghostscript: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l.
Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.ghostscript.com. A possible mitigation has been published 2 years after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (119132) and SecurityFocus (BID 99983†). See VDB-104537, VDB-104538 and VDB-104539 for similar entries. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://artifex.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 6.4
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
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: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
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: 119132
Nessus Name: GLSA-201811-12 : GPL Ghostscript: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 703397
OpenVAS Name: Fedora Update for ghostscript FEDORA-2017-c9b0c406b3
OpenVAS File: 🔍
OpenVAS Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: 961b10cdd71403072fb99401a45f3bef6ce53626
Timeline
06/18/2017 🔍07/25/2017 🔍
07/26/2017 🔍
07/26/2017 🔍
07/26/2017 🔍
07/27/2017 🔍
11/24/2018 🔍
11/26/2018 🔍
12/14/2022 🔍
Sources
Vendor: artifex.comAdvisory: git.ghostscript.com
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-9740 (🔍)
GCVE (CVE): GCVE-0-2017-9740
GCVE (VulDB): GCVE-100-104543
SecurityFocus: 99983 - Ghostscript GhostXPS CVE-2017-9740 Heap Buffer Overflow Vulnerability
See also: 🔍
Entry
Created: 07/27/2017 08:26Updated: 12/14/2022 09:33
Changes: 07/27/2017 08:26 (74), 11/01/2019 15:41 (9), 12/14/2022 09:33 (4)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.