Artifex Ghostscript GhostXPS 9.22 psi/ialloc.c gs_alloc_ref_array 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 declared as critical. Affected by this vulnerability is the function gs_alloc_ref_array of the file psi/ialloc.c. The manipulation results in memory corruption.
This vulnerability is cataloged as CVE-2017-9835. The attack must be initiated from a local position. There is no exploit available.
Applying a patch is advised to resolve this issue.
Details
A vulnerability classified as critical has been found in Artifex Ghostscript GhostXPS 9.22 (Document Processing Software). Affected is the function gs_alloc_ref_array of the file psi/ialloc.c. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.22 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c.
The bug was discovered 07/25/2017. The weakness was shared 07/26/2017 as confirmed git commit (GIT Repository). The advisory is shared for download at git.ghostscript.com. This vulnerability is traded as CVE-2017-9835 since 06/24/2017. 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. There are known technical details, but no exploit is available.
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 102096 (Debian DLA-1048-1 : ghostscript security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196898 (Ubuntu Security Notification for Ghostscript Vulnerabilities (USN-3403-1)).
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 6 days after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (102096) and SecurityFocus (BID 99991†). The entries VDB-104535, VDB-104536, VDB-104540 and VDB-104541 are related to this item. VulDB is the best source for vulnerability data and more expert information about this specific topic.
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: 102096
Nessus Name: Debian DLA-1048-1 : ghostscript security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 53754
OpenVAS Name: Debian Security Advisory DSA 3986-1 (ghostscript - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: cfde94be1d4286bc47633c6e6eaf4e659bd78066
Timeline
06/24/2017 🔍07/25/2017 🔍
07/26/2017 🔍
07/26/2017 🔍
07/26/2017 🔍
07/27/2017 🔍
08/01/2017 🔍
08/02/2017 🔍
12/14/2022 🔍
Sources
Vendor: artifex.comAdvisory: git.ghostscript.com
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-9835 (🔍)
GCVE (CVE): GCVE-0-2017-9835
GCVE (VulDB): GCVE-100-104544
OVAL: 🔍
SecurityFocus: 99991 - Artifex Ghostscript CVE-2017-9835 Heap Buffer Overflow Vulnerability
See also: 🔍
Entry
Created: 07/27/2017 08:26Updated: 12/14/2022 09:35
Changes: 07/27/2017 08:26 (80), 11/01/2019 15:44 (5), 12/14/2022 09:35 (4)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.