Artifex Ghostscript GhostXPS 9.22 psi/ialloc.c gs_alloc_ref_array memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: cfde94be1d4286bc47633c6e6eaf4e659bd78066

Timelineinfo

06/24/2017 🔍
07/25/2017 +31 days 🔍
07/26/2017 +1 days 🔍
07/26/2017 +0 days 🔍
07/26/2017 +0 days 🔍
07/27/2017 +1 days 🔍
08/01/2017 +5 days 🔍
08/02/2017 +1 days 🔍
12/14/2022 +1960 days 🔍

Sourcesinfo

Vendor: artifex.com

Advisory: 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: 🔍

Entryinfo

Created: 07/27/2017 08:26
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!